mirror of
https://github.com/ZhengPeiRu21/mod-individual-progression
synced 2025-11-29 23:44:51 +08:00
Update custom_spells_40.cpp
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user