Jump to content

eniac86

Members
  • Posts

    143
  • Joined

  • Last visited

Reputation Activity

  1. Like
    eniac86 got a reaction from Droidz in Vanilla bot is not taking flight paths   
    Disabled all plugins and addons
    seems to be working now.
    Good job Droidz ?
  2. Like
    eniac86 reacted to Droidz in Range Calculater for WoW Vanilla is off   
    Hello,
    spell.IsDistanceGood (and distance check option in fightclasses editor) test only max distance (not min spell distance).
    I tested this code and he seem to works:
    float min = 8, max = 35; var cMin = ObjectManager.Target.GetDistance - ObjectManager.Target.CombatReach - ObjectManager.Me.CombatReach; var cMax = ObjectManager.Target.GetDistance + ObjectManager.Target.CombatReach + ObjectManager.Me.CombatReach; bool inRange = cMin >= min && cMax <= max; Logging.Write("cMin = " + cMin + " - cMax" + cMax + " - inRange= " + inRange);  
    One line (for xml fightclass): 
    ((ObjectManager.Target.GetDistance - ObjectManager.Target.CombatReach - ObjectManager.Me.CombatReach) >= 8 && (ObjectManager.Target.GetDistance + ObjectManager.Target.CombatReach + ObjectManager.Me.CombatReach) <= 35)  
×
×
  • Create New...