*(awe)some changes to triggering spell/aura effects:

*do not use original caster for trigger spell/trigger spell with value effects
 *correct caster selection for force cast/trigger spell/trigger spell with value spell effects

--HG--
branch : trunk
This commit is contained in:
QAston
2010-02-20 23:57:54 +01:00
parent 2e3f89b61f
commit 6323d7dc33
5 changed files with 45 additions and 42 deletions
-1
View File
@@ -72,7 +72,6 @@ class AuraEffect
void PeriodicTick(Unit * target, Unit * caster) const;
void PeriodicDummyTick(Unit * target, Unit * caster) const;
Unit* GetTriggerTarget(Unit * target) const;
Unit* GetTriggerCaster(Unit * target, Unit * caster, SpellEntry const * triggeredSpell) const;
void TriggerSpell(Unit * target, Unit * caster) const;
void TriggerSpellWithValue(Unit * target, Unit * caster) const;