August 14, 20232 yr basically just started coding today, and i have no idea why my fight class is not fighting. it will cast the buffs just fine but no combat spells Ret Paladin.cs
August 14, 20232 yr Almost all your comparison operators seem to be reversed. for example: if(FlashHeal.KnownSpell && FlashHeal.IsSpellUsable && FlashHeal.IsDistanceGood && ObjectManager.Me.HealthPercent > 50) { FlashHeal.Launch(); return; } means that Flash Heal will be used when your health percent is above 50%. You want the opposite: if(FlashHeal.KnownSpell && FlashHeal.IsSpellUsable && FlashHeal.IsDistanceGood && ObjectManager.Me.HealthPercent < 50) { FlashHeal.Launch(); return; }
Create an account or sign in to comment