Jump to content

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
https://wrobot.eu/forums/topic/15269-fightclass-not-fighting/#findComment-68653
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...