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

If tag condition request

killakaz

Community Developer
Joined
Nov 18, 2010
Messages
341
Reaction score
25
is there a way we can add in something like <tt>HasQuest(6948)</tt> <tt>but do HasSpell(100) to see if we have already learned the spell before trying a forcetrain custom class</tt> in the future?
<if condition="!HasSpell(100)"></if>
 
The full power of Styx is available to you from within a Condition. Convenience wrappers are nice, but not necessary.

Try
&lt;If Condition="Styx.Logic.Combat.SpellManager.HasSpell( &amp;quot;Frostbolt&amp;quot; )" &gt;

As this example shows, you must XML-encode the double-quotes via &amp;quot;​
or
&lt;If Condition="Styx.Logic.Combat.SpellManager.HasSpell(116)" &gt;
cheers,
chinajade
 
The full power of Styx is available to you from within a Condition. Convenience wrappers are nice, but not necessary.

Try
&lt;If Condition="Styx.Logic.Combat.SpellManager.HasSpell( &amp;quot;Frostbolt&amp;quot; )" &gt;


As this example shows, you must XML-encode the double-quotes via &amp;quot;​
or
&lt;If Condition="Styx.Logic.Combat.SpellManager.HasSpell(116)" &gt;
cheers,
chinajade

ah ok wasen't sure you could do that nice thanks
 
Back
Top