mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 09:39:11 +00:00
fix(Scripts/Spells): Implement damage scaling based off DoT stack count for Seal of Vengeance and Corruption. (#19073)
* Init. * Whoops. * Move comment. Someone should fix this darn CI. * Logic adjustment. * Revert logic adjustment. This reverts commit ee09ee55df47c9a66ecf536be58a4a040f384b72. * Requested changes?
This commit is contained in:
@@ -7833,19 +7833,17 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
|
||||
|
||||
triggered_spell_id = 31803;
|
||||
|
||||
// On target with 5 stacks of Holy Vengeance direct damage is done
|
||||
if (Aura* aur = victim->GetAura(triggered_spell_id, GetGUID()))
|
||||
{
|
||||
if (aur->GetStackAmount() == 5)
|
||||
{
|
||||
if (stacker)
|
||||
aur->RefreshDuration();
|
||||
|
||||
CastSpell(victim, 42463, true, castItem, triggeredByAura);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
CastSpell(victim, 42463, true, castItem, triggeredByAura); // Seal of Vengeance
|
||||
|
||||
if (!stacker)
|
||||
return false;
|
||||
break;
|
||||
@@ -7866,19 +7864,17 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
|
||||
|
||||
triggered_spell_id = 53742;
|
||||
|
||||
// On target with 5 stacks of Blood Corruption direct damage is done
|
||||
if (Aura* aur = victim->GetAura(triggered_spell_id, GetGUID()))
|
||||
{
|
||||
if (aur->GetStackAmount() == 5)
|
||||
{
|
||||
if (stacker)
|
||||
aur->RefreshDuration();
|
||||
|
||||
CastSpell(victim, 53739, true, castItem, triggeredByAura);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
CastSpell(victim, 53739, true, castItem, triggeredByAura); // Seal of Corruption
|
||||
|
||||
if (!stacker)
|
||||
return false;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user