From ffd2f71f4bf67833423dfe87f0d3550750ab2011 Mon Sep 17 00:00:00 2001 From: QAston Date: Sat, 7 Feb 2009 19:57:28 +0100 Subject: *Handle aura SPELL_AURA_MOD_BLOCK_CRIT_CHANCE. --HG-- branch : trunk --- src/game/Unit.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game/Unit.h') 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); -- cgit v1.2.3