diff options
| author | QAston <none@none> | 2009-07-13 21:27:05 +0200 |
|---|---|---|
| committer | QAston <none@none> | 2009-07-13 21:27:05 +0200 |
| commit | 310f15e546c2525e2fbef2fbea57521e4cc8b78b (patch) | |
| tree | 794288cd95709cae36c8a9a26dceb2784548b98c /src/game/Unit.h | |
| parent | 2120bc0d3055576db84a731463dd6b82b21008a0 (diff) | |
*Make charge-like spells with talented warbringer correctly remove movement impairing auras.
*Fix Revitalize.
*Use MaxHp of target instead of base hp for CC auras amount.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.h')
| -rw-r--r-- | src/game/Unit.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index ed51e606996..cc13b28d30f 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1594,7 +1594,8 @@ class TRINITY_DLL_SPEC Unit : public WorldObject AuraEffect * GetAuraEffect(uint32 spellId, uint8 effIndex, uint64 casterGUID = 0) const; Aura * GetAura(uint32 spellId, uint64 casterGUID = 0) const; - AuraEffect* GetAura(AuraType type, uint32 family, uint32 familyFlag1 , uint32 familyFlag2=0, uint32 familyFlag3=0, uint64 casterGUID=0); + AuraEffect * GetAura(AuraType type, uint32 family, uint32 familyFlag1 , uint32 familyFlag2=0, uint32 familyFlag3=0, uint64 casterGUID=0); + AuraEffect * IsScriptOverriden(SpellEntry const * spell, int32 script) const; bool HasAuraEffect(uint32 spellId, uint8 effIndex, uint64 caster = 0) const; bool HasAura(uint32 spellId, uint64 caster = 0) const; bool HasAura(Aura * aur) const; |
