Skip to content

Commit

Permalink
Spell: Z cord corrected for 59303
Browse files Browse the repository at this point in the history
  • Loading branch information
Grz3s committed Jul 28, 2024
1 parent 1788819 commit 7976f4c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions sql/scriptdev2/spell.sql
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,7 @@ INSERT INTO spell_scripts(Id, ScriptName) VALUES
(58420,'spell_portal_to_capital_city'),
(58984,'spell_shadowmeld'),
(59275,'spell_summon_gauntlet_mobs_periodic_aura'),
(59303,'spell_summon_frost_wyrm'),
(59317,'spell_teleporting_dalaran'),
(59331,'spell_poisoned_spear'),
(59481,'spell_loatheb_warn'),
Expand Down
10 changes: 10 additions & 0 deletions src/game/AI/ScriptDevAI/scripts/northrend/icecrown.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1131,6 +1131,15 @@ struct RideVehicle_57346 : public AuraScript
}
};

// 59303 - Summon Frost Wyrm
struct SummonFrostWyrm : public SpellScript
{
void OnDestTarget(Spell* spell) const override
{
spell->m_targets.m_destPos.z += 50.f;
}
};

void AddSC_icecrown()
{
Script* pNewScript = new Script;
Expand Down Expand Up @@ -1173,4 +1182,5 @@ void AddSC_icecrown()
RegisterSpellScript<TheReckoning>("spell_the_reckoning");
RegisterSpellScript<FitfulDream>("spell_fitful_dream");
RegisterSpellScript<RideVehicle_57346>("spell_ride_vehicle_57346");
RegisterSpellScript<SummonFrostWyrm>("spell_summon_frost_wyrm");
}

0 comments on commit 7976f4c

Please sign in to comment.