Changeset 136 for trunk/src/game/Unit.h
- Timestamp:
- 11/19/08 13:39:20 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Unit.h
r110 r136 718 718 bool isAttackReady(WeaponAttackType type = BASE_ATTACK) const { return m_attackTimer[type] == 0; } 719 719 bool haveOffhandWeapon() const; 720 bool CanDualWield() const { return m_canDualWield; } 721 void SetCanDualWield(bool value) { m_canDualWield = value; } 720 722 bool canReachWithAttack(Unit *pVictim) const; 721 723 bool IsWithinCombatDist(Unit *obj, float dist2compare) const; 722 724 uint32 m_extraAttacks; 725 bool m_canDualWield; 723 726 724 727 void _addAttacker(Unit *pAttacker) // must be called only from Unit::Attack(Unit*)