*Rename some script functions (no real change).
--HG-- branch : trunk
This commit is contained in:
+2
-2
@@ -940,8 +940,8 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
|
||||
void SetCanDualWield(bool value) { m_canDualWield = value; }
|
||||
float GetCombatReach() const { return m_floatValues[UNIT_FIELD_COMBATREACH]; }
|
||||
float GetMeleeReach() const { float reach = m_floatValues[UNIT_FIELD_COMBATREACH]; return reach > MIN_MELEE_REACH ? reach : MIN_MELEE_REACH; }
|
||||
bool IsWithinCombatRange(Unit *obj, float dist2compare) const;
|
||||
bool IsWithinMeleeRange(Unit *obj, float dist = MELEE_RANGE) const;
|
||||
bool IsWithinCombatRange(const Unit *obj, float dist2compare) const;
|
||||
bool IsWithinMeleeRange(const Unit *obj, float dist = MELEE_RANGE) const;
|
||||
void GetRandomContactPoint( const Unit* target, float &x, float &y, float &z, float distance2dMin, float distance2dMax ) const;
|
||||
uint32 m_extraAttacks;
|
||||
bool m_canDualWield;
|
||||
|
||||
Reference in New Issue
Block a user