diff options
author | thenecromancer <none@none> | 2010-01-20 21:10:18 +0100 |
---|---|---|
committer | thenecromancer <none@none> | 2010-01-20 21:10:18 +0100 |
commit | fbe09a92f960e24b90711b55f0d2f3a864605d3d (patch) | |
tree | 0e6e42f3ab12ffa4c9059401e6651e5ed3482b11 /src/game/Unit.h | |
parent | 721c9262291833868b6c478410c23f732eca4d4b (diff) |
Allow spells with effect mechanic to allow apply other effects when effect with mechanic would be fail due to effect/state immunity.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r-- | src/game/Unit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index b1581c6a329..a0614298484 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1824,7 +1824,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject // redefined in Creature bool IsImmunedToDamage(SpellSchoolMask meleeSchoolMask); bool IsImmunedToDamage(SpellEntry const* spellInfo); - virtual bool IsImmunedToSpellEffect(SpellEntry const* spellInfo, uint32 index, bool checkMechanic=true) const; + virtual bool IsImmunedToSpellEffect(SpellEntry const* spellInfo, uint32 index) const; // redefined in Creature uint32 CalcNotIgnoreDamageRedunction( uint32 damage, SpellSchoolMask damageSchoolMask); uint32 CalcArmorReducedDamage(Unit* pVictim, const uint32 damage, SpellEntry const *spellInfo, WeaponAttackType attackType=MAX_ATTACK); |