*Handle aura SPELL_AURA_MOD_BLOCK_CRIT_CHANCE.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-02-07 19:57:28 +01:00
parent 52215b4394
commit ffd2f71f4b
3 changed files with 15 additions and 1 deletions
+1
View File
@@ -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);