*Fix the bug that proc stun aura is applied on self.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-22 11:36:13 -06:00
parent 65ef38963d
commit d1a83bcaf8
4 changed files with 47 additions and 12 deletions
+1
View File
@@ -1006,6 +1006,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
void CastCustomSpell(Unit* Victim,SpellEntry const *spellInfo, int32 const* bp0, int32 const* bp1, int32 const* bp2, bool triggered, Item *castItem= NULL, Aura* triggeredByAura = NULL, uint64 originalCaster = 0);
void CastSpell(float x, float y, float z, uint32 spellId, bool triggered, Item *castItem = NULL, Aura* triggeredByAura = NULL, uint64 originalCaster = 0);
void CastSpell(GameObject *go, uint32 spellId, bool triggered, Item *castItem = NULL, Aura* triggeredByAura = NULL, uint64 originalCaster = 0);
void AddAura(uint32 spellId, Unit *target);
bool IsDamageToThreatSpell(SpellEntry const * spellInfo) const;