Calculate mechanic resist chance for melee abilities.
--HG-- branch : trunk
This commit is contained in:
@@ -969,6 +969,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
|
||||
float GetUnitParryChance() const;
|
||||
float GetUnitBlockChance() const;
|
||||
float GetUnitCriticalChance(WeaponAttackType attackType, const Unit *pVictim) const;
|
||||
int32 GetMechanicResistChance(const SpellEntry *spell);
|
||||
|
||||
virtual uint32 GetShieldBlockValue() const =0;
|
||||
uint32 GetUnitMeleeSkill(Unit const* target = NULL) const { return (target ? getLevelForTarget(target) : getLevel()) * 5; }
|
||||
|
||||
Reference in New Issue
Block a user