aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2013-07-27 03:09:52 +0200
committerVincent-Michael <Vincent_Michael@gmx.de>2013-07-27 03:09:52 +0200
commit7cdaf175385a84ec099c02c78ef7311801b611ec (patch)
treefcfff2f2136164b1efc9d489959608d576c52451
parent85d574e0b4a7345c71be1133378aec9bcdff6e52 (diff)
Core/Spells: Add missing stuff in 85d574e0b4a7345c71be1133378aec9bcdff6e52
-rw-r--r--src/server/scripts/Spells/spell_warrior.cpp5
1 files changed, 2 insertions, 3 deletions
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);
}