aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.h
diff options
context:
space:
mode:
authorQAston <none@none>2009-02-07 19:57:28 +0100
committerQAston <none@none>2009-02-07 19:57:28 +0100
commitffd2f71f4bf67833423dfe87f0d3550750ab2011 (patch)
tree98f4b707f6cb1b169ba67e89e31fbfa0daac3cc6 /src/game/Unit.h
parent52215b43944585e7723807e7fd9e3f46b5f300f0 (diff)
*Handle aura SPELL_AURA_MOD_BLOCK_CRIT_CHANCE.
--HG-- branch : trunk
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 48686bcef14..1eb663121c7 100644
--- a/src/game/Unit.h
+++ b/src/game/Unit.h
@@ -1415,6 +1415,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
uint32 SpellDamageBonus(Unit *pVictim, SpellEntry const *spellProto, uint32 damage, DamageEffectType damagetype, uint32 stack = 1);
uint32 SpellHealingBonus(Unit *pVictim, SpellEntry const *spellProto, uint32 healamount, DamageEffectType damagetype, uint32 stack = 1);
bool isSpellBlocked(Unit *pVictim, SpellEntry const *spellProto, WeaponAttackType attackType = BASE_ATTACK);
+ bool isBlockCritical();
bool isSpellCrit(Unit *pVictim, SpellEntry const *spellProto, SpellSchoolMask schoolMask, WeaponAttackType attackType = BASE_ATTACK);
uint32 SpellCriticalDamageBonus(SpellEntry const *spellProto, uint32 damage, Unit *pVictim);
uint32 SpellCriticalHealingBonus(SpellEntry const *spellProto, uint32 damage, Unit *pVictim);