Skip to content

Commit

Permalink
Sholazar: Add s.53032 script
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Oct 1, 2023
1 parent 520f294 commit 3eead07
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 @@ -811,6 +811,7 @@ INSERT INTO spell_scripts(Id, ScriptName) VALUES
(52866,'spell_transform_visual'),
(52942,'spell_pulsing_shockwave'),
(53031,'spell_crusader_parachute'),
(53032,'spell_flurry_of_claws'),
(53035,'spell_summon_anubar_periodic_aura'),
(53036,'spell_summon_anubar_periodic_aura'),
(53037,'spell_summon_anubar_periodic_aura'),
Expand Down
10 changes: 10 additions & 0 deletions src/game/AI/ScriptDevAI/scripts/northrend/sholazar_basin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,15 @@ struct TransformVisual : public SpellScript
}
};

// 53032 - Flurry of Claws
struct FlurryOfClaws : public AuraScript
{
void OnPeriodicDummy(Aura* aura) const override
{
aura->GetTarget()->CastSpell(nullptr, 74566, TRIGGERED_OLD_TRIGGERED);
}
};

void AddSC_sholazar_basin()
{
Script* pNewScript = new Script;
Expand Down Expand Up @@ -747,4 +756,5 @@ void AddSC_sholazar_basin()
RegisterSpellScript<DevourWind>("spell_devour_wind");
RegisterSpellScript<DevourWater>("spell_devour_water");
RegisterSpellScript<TransformVisual>("spell_transform_visual");
RegisterSpellScript<FlurryOfClaws>("spell_flurry_of_claws");
}

0 comments on commit 3eead07

Please sign in to comment.