What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

<If Condition...> Question

tubajedimr

New Member
Joined
Apr 6, 2010
Messages
441
Reaction score
24
I'm not skilled in LUA API etc.

I was wondering is there a way to do an IF tag on a target to search for a buff.

In other words something like

PHP:
<If Condition="TargetHasBuff(BuffID)">

Or

PHP:
<If Condition="Target.Buff ==....>

Not sure about this.
 
Last edited:
Hi again

Try that one:
PHP:
<If Condition="Me.CurrentTarget.HasAura(&quot;The buff name&quot;)">

And yes, you must replace quotes by & quot; (without space)
 
All <If> conditions is HBCore C# strings which return true/false or 1/0 as result. Technically there is possible to use non limited C# code.
 
Back
Top