October 25, 20178 yr I set my character health percent as condition when to use Divine Shield, but it fails to launch if at the same time im casting holy light. I'm using Spell.Launch(). How i can stop casting in C#?
October 26, 20178 yr Lua.RunMacroText("/stopcasting"); Maybe something like this: private readonly Spell DivineShield = new Spell("Divine Shield"); // Divine Shield if (ObjectManager.Me.HealthPercent < 30 && ObjectManager.Me.IsCast && DivineShield.KnownSpell && DivineShield.IsSpellUsable) { Lua.RunMacroText("/stopcasting"); DivineShield.Launch(); }
Create an account or sign in to comment