From 7f377964fbdda712bca09cc149e15321dfe8bd21 Mon Sep 17 00:00:00 2001 From: kandera Date: Mon, 9 Apr 2012 10:38:08 -0300 Subject: Core/Scripts: fix unrelenting assault procing on caster (thx gigatotem). both cast spells have target_unit_caster --- src/server/scripts/Spells/spell_warrior.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/scripts/Spells/spell_warrior.cpp b/src/server/scripts/Spells/spell_warrior.cpp index c87c2e05289..2ce3c72580e 100644 --- a/src/server/scripts/Spells/spell_warrior.cpp +++ b/src/server/scripts/Spells/spell_warrior.cpp @@ -443,7 +443,7 @@ public: Unit* target = GetHitUnit(); if (target->HasUnitState(UNIT_STATE_CASTING)) - GetCaster()->CastSpell(target, spellId, true); + target->CastSpell(target, spellId, true); } void Register() -- cgit v1.2.3