How can I check Target Buff?

KoreaMan

New member
Joined
Jul 17, 2008
Messages
8
Reaction score
0
Points
0
How can i check Target Buff?

It's not working..... Pleaes Help.

/if ( !${Target.Buff[Mez]} && ... ) {


....
 
How can i check Target Buff?

It's not working..... Pleaes Help.

/if ( !${Target.Buff[Mez]} && ... ) {


....

You are close ....

This will tell if they have the buff ....(returns #of spell), instead of NULL
Code:
${Target.Buff[Hand of Temerity].ID}

This will show the duration of time left on the buff if they have it .....

Code:
${Target.BuffDuration[Hand of Temerity]}
 
Need the Group LAA to check NPCs don't you?
 
Both Cant Work Both too

Can't Working both Too... Both is Null too.
Null equl dont have buff right? So i cant work again...

Code:
${Target.Buff[Hand of Temerity].ID}

Code:
${Target.BuffDuration[Hand of Temerity]}


I sued it..

/if ( ${Target.Buff[Hand of Temerity].ID} ) /return

same another

/if ( !${Target.BuffDuration[Hand of Temerity]} ) /return


Please i need know... What kind is problem to me..
 
Can't Working both Too... Both is Null too.
Null equl dont have buff right? So i cant work again...

Code:
${Target.Buff[Hand of Temerity].ID}

Code:
${Target.BuffDuration[Hand of Temerity]}


I sued it..

/if ( ${Target.Buff[Hand of Temerity].ID} ) /return

same another

/if ( !${Target.BuffDuration[Hand of Temerity]} ) /return


Please i need know... What kind is problem to me..

Of course they are going to show NULL if you don't change the BUFF you are looking for. I put Hand of Temerity in there as an example. Change "Hand of Temerity" to the buff you are looking for. Test it by using /echo on a target that you know has that buff.

So if you gave me a certain buff like Spirit of Eagle, you could target me and put in....(you would put Spirit of Eagle in place of SPELLNAME)...

Code:
/echo ${Target.BuffDuration[[COLOR=Red]SPELLNAME[/COLOR]]}

It should give you a number that matches the amount of ticks left on the buff if you don't misspell it. Also putting a "!" before this seems kind of weird.

Code:
/echo ${Target.Buff[[COLOR=Red]SPELLNAME[/COLOR]].ID}

This will return the spell ID if I have the buff, or NULL if I don't.

You change the spell that I highlighted to whatever spell you are trying to check.