mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
Core/Spells: Lava Lash may now spread Flame Shock without having Searing Flames active on their target
This commit is contained in:
@@ -930,10 +930,10 @@ class spell_sha_lava_lash : public SpellScript
|
||||
{
|
||||
bonusDamage += bonusAura->GetAmount() * aura->GetStackAmount();
|
||||
aura->Remove();
|
||||
|
||||
if (target->HasAura(SPELL_SHAMAN_FLAME_SHOCK, caster->GetGUID()))
|
||||
caster->CastCustomSpell(SPELL_SHAMAN_LAVA_LASH_SPREAD_FLAME_SHOCK, SPELLVALUE_MAX_TARGETS, 4, target, true, nullptr, bonusAura);
|
||||
}
|
||||
|
||||
if (target->HasAura(SPELL_SHAMAN_FLAME_SHOCK, caster->GetGUID()))
|
||||
caster->CastCustomSpell(SPELL_SHAMAN_LAVA_LASH_SPREAD_FLAME_SHOCK, SPELLVALUE_MAX_TARGETS, 4, target, true, nullptr, bonusAura);
|
||||
}
|
||||
SetEffectValue(GetEffectValue() + bonusDamage);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user