aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r--src/game/Unit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h
index 375e21e5f4d..26c8fc39a97 100644
--- a/src/game/Unit.h
+++ b/src/game/Unit.h
@@ -1170,6 +1170,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);
bool CanUseAttackType( uint8 attacktype ) const
{
switch(attacktype)