*Fix demonic knowledge

*Fix applying of some cast mods
*Set correct dr for shattered barrier.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-05-07 22:38:09 +02:00
parent 1b460da5cb
commit f06e8608cb
5 changed files with 17 additions and 7 deletions
+1 -1
View File
@@ -1186,7 +1186,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
void CastSpell(GameObject *go, uint32 spellId, bool triggered, Item *castItem = NULL, AuraEffect* triggeredByAura = NULL, uint64 originalCaster = 0);
void AddAura(uint32 spellId, Unit *target);
void HandleAuraEffect(AuraEffect * aureff, bool apply);
Aura *AddAuraEffect(uint32 spellId, uint8 effIndex, Unit* caster);
Aura *AddAuraEffect(uint32 spellId, uint8 effIndex, Unit* caster, int32 * basePoints=NULL);
bool IsDamageToThreatSpell(SpellEntry const * spellInfo) const;