Core/Spells: Add missing stuff in 85d574e0b4
This commit is contained in:
1 parent
85d574e0b4
commit
7cdaf17538
1 file changed
+2
-3
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user