From 7cdaf175385a84ec099c02c78ef7311801b611ec Mon Sep 17 00:00:00 2001 From: Vincent-Michael Date: Sat, 27 Jul 2013 03:09:52 +0200 Subject: Core/Spells: Add missing stuff in 85d574e0b4a7345c71be1133378aec9bcdff6e52 --- src/server/scripts/Spells/spell_warrior.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/server/scripts/Spells/spell_warrior.cpp b/src/server/scripts/Spells/spell_warrior.cpp index e4d8481eb4f..37bca931e67 100644 --- a/src/server/scripts/Spells/spell_warrior.cpp +++ b/src/server/scripts/Spells/spell_warrior.cpp @@ -443,9 +443,8 @@ class spell_warr_lambs_to_the_slaughter : public SpellScriptLoader void OnProc(AuraEffect const* /*aurEff*/, ProcEventInfo& eventInfo) { - if (eventInfo.GetDamageInfo()->GetSpellInfo()->Id == SPELL_WARRIOR_MORTAL_STRIKE) - if (Aura* aur = eventInfo.GetProcTarget()->GetAura(SPELL_WARRIOR_REND, GetTarget()->GetGUID())) - aur->SetDuration(aur->GetSpellInfo()->GetMaxDuration(), true); + if (Aura* aur = eventInfo.GetProcTarget()->GetAura(SPELL_WARRIOR_REND, GetTarget()->GetGUID())) + aur->SetDuration(aur->GetSpellInfo()->GetMaxDuration(), true); } -- cgit v1.2.3