Update custom_spells_40.cpp

This commit is contained in:
Grimfeather
2025-07-02 22:25:45 +02:00
committed by GitHub
parent 2b2e8e8e18
commit a89703be3d

View File

@@ -272,7 +272,11 @@ class spell_sapphiron_frost_aura_40 : public AuraScript
return;
}
PreventDefaultAction();
int32 modifiedFrostAuraDamage = 599;
// int32 modifiedFrostAuraDamage = 599;
int32 bp0 = 599; // instant damage
int32 bp1 = 599; // periodic damage
values.AddSpellMod(SPELLVALUE_BASE_POINT0, bp0);
values.AddSpellMod(SPELLVALUE_BASE_POINT1, bp1);
CustomSpellValues values;
values.AddSpellMod(SPELLVALUE_BASE_POINT0, modifiedFrostAuraDamage);
caster->CastCustomSpell(SPELL_FROST_AURA, values, caster, TRIGGERED_NONE, nullptr, nullptr, GetCasterGUID());