Jump to content

Fightclass not fighting...


Recommended Posts

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;
}
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...