diff options
author | Vincent-Michael <Vincent_Michael@gmx.de> | 2013-07-27 03:09:52 +0200 |
---|---|---|
committer | Vincent-Michael <Vincent_Michael@gmx.de> | 2013-07-27 03:09:52 +0200 |
commit | 7cdaf175385a84ec099c02c78ef7311801b611ec (patch) | |
tree | fcfff2f2136164b1efc9d489959608d576c52451 /src | |
parent | 85d574e0b4a7345c71be1133378aec9bcdff6e52 (diff) |
Core/Spells: Add missing stuff in 85d574e0b4a7345c71be1133378aec9bcdff6e52
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Spells/spell_warrior.cpp | 5 |
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); } |