Skip to content

Commit

Permalink
Ulduar: Update Spellscript data
Browse files Browse the repository at this point in the history
  • Loading branch information
insunaa committed Jan 13, 2024
1 parent 776f7bf commit 5414c83
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sql/scriptdev2/spell.sql
Original file line number Diff line number Diff line change
Expand Up @@ -960,6 +960,7 @@ INSERT INTO spell_scripts(Id, ScriptName) VALUES
(63474,'spell_ignis_scorch'),
(63482,'spell_lightning_whirl_heroic'),
(63575,'spell_smoke_trail_leviathan'),
(63605,'spell_rope_beam'),
(63618,'spell_overload_leviathan'),
(63845,'spell_create_lance'),
(64203,'spell_void_zone_xt'),
Expand All @@ -974,6 +975,8 @@ INSERT INTO spell_scripts(Id, ScriptName) VALUES
(64482,'spell_flame_leviathan_buff'),
(64503,'spell_ignis_water'),
(64568,'spell_blood_reserve_enchant'),
(64979,'spell_anti_air_rocket'),
(64998,'spell_ready_to_fly'),
(65045,'spell_flames_leviathan'),
(65121,'spell_searing_light'),
(65667,'spell_ignis_heat'),
Expand All @@ -985,6 +988,7 @@ INSERT INTO spell_scripts(Id, ScriptName) VALUES
(67009,'spell_nether_power'),
(67114,'spell_ignis_brittle'),
(67322,'spell_burrower_submerge'),
(67372,'spell_grab_crate_leviathan'),
(67470,'spell_pursuing_spikes'),
(67547,'spell_clear_valkyr_essence'),
(67590,'spell_powering_up'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,7 @@ bool NpcSpellClick_npc_salvaged_demolisher(Player* player, Creature* clickedCrea
return true;
}

// 62374 - Pursued
struct PursueLeviathan : public SpellScript
{
bool OnCheckTarget(const Spell* /*spell*/, Unit* target, SpellEffectIndex /*eff*/) const override
Expand Down Expand Up @@ -1024,6 +1025,7 @@ struct PursueLeviathan : public SpellScript
}
};

// 62376 - Battering Ram
struct BatteringRamLeviathan : public SpellScript
{
// TODO: Figure out Targeting issues
Expand Down Expand Up @@ -1085,6 +1087,7 @@ struct MimironsInfernoLeviathan : public SpellScript, public AuraScript
}
};

// 64414 - Load into Catapult
struct LoadIntoCatapultLeviathan : public AuraScript
{
void OnApply(Aura* aura, bool apply) const override
Expand Down Expand Up @@ -1143,6 +1146,7 @@ struct ThrowPassenger : public SpellScript
}
};

// 62336 - Hookshot Aura
struct HookshotAura : public AuraScript
{
void OnPeriodicDummy(Aura* aura) const override
Expand All @@ -1159,6 +1163,7 @@ struct HookshotAura : public AuraScript
}
};

// 62323 - Hookshot
struct Hookshot : public SpellScript
{
bool OnCheckTarget(const Spell* spell, Unit* target, SpellEffectIndex eff) const override
Expand Down Expand Up @@ -1198,6 +1203,7 @@ struct Hookshot : public SpellScript
}
};

// 62399 - Overload Circuit
struct OverloadCircuit : public AuraScript
{
void OnApply(Aura* aura, bool apply) const override
Expand All @@ -1224,6 +1230,7 @@ struct OverloadCircuit : public AuraScript
}
};

// 62475 - Systems Shutdown
struct SystemsShutdown : public AuraScript
{
void OnApply(Aura* aura, bool apply) const override
Expand Down Expand Up @@ -1291,6 +1298,7 @@ struct SystemsShutdown : public AuraScript
}
};

// 60603 - Eject Passenger 1
struct EjectPassenger1 : public SpellScript
{
void OnEffectExecute(Spell* spell, SpellEffectIndex /*effIdx*/) const override
Expand Down Expand Up @@ -1318,6 +1326,7 @@ struct EjectPassenger1 : public SpellScript
}
};

// 63575 - Smoke Trail
struct SmokeTrailLeviathan : public SpellScript
{
void OnEffectExecute(Spell* spell, SpellEffectIndex effIdx) const
Expand All @@ -1334,6 +1343,7 @@ struct SmokeTrailLeviathan : public SpellScript
}
};

// 61242 - Parachute
struct ParachuteLeviathan : public AuraScript
{
void OnPeriodicDummy(Aura* aura) const override
Expand All @@ -1348,6 +1358,7 @@ struct ParachuteLeviathan : public AuraScript
}
};

// 67372 - Grab Pyrite
struct GrabPyrite : public SpellScript
{
void OnEffectExecute(Spell* spell, SpellEffectIndex effIdx) const
Expand All @@ -1367,6 +1378,7 @@ struct GrabPyrite : public SpellScript
}
};

// 63618 - Overload
struct OverloadLeviathan : public SpellScript
{
bool OnCheckTarget(const Spell* spell, Unit* target, SpellEffectIndex /*eff*/) const override
Expand All @@ -1378,6 +1390,7 @@ struct OverloadLeviathan : public SpellScript
}
};

// 62907 - Freya's Ward
struct FreyasWard : public SpellScript
{
void OnEffectExecute(Spell* spell, SpellEffectIndex effIdx) const override
Expand All @@ -1387,6 +1400,7 @@ struct FreyasWard : public SpellScript
}
};

// 65045 - Flames
struct FlamesLeviathan : public SpellScript
{
bool OnCheckTarget(const Spell* spell, Unit* target, SpellEffectIndex /*eff*/) const override
Expand All @@ -1398,6 +1412,7 @@ struct FlamesLeviathan : public SpellScript
}
};

// 64998 - Say you're ready to fly!
struct ReadyToFly : public SpellScript
{
const std::vector<uint32> bcts = {34429, 34433};
Expand Down Expand Up @@ -1425,6 +1440,7 @@ struct ReadyToFly : public SpellScript
}
};

// 64979 - Anti-Air Rocket
struct AntiAirRocket : public SpellScript
{
bool OnCheckTarget(const Spell* spell, Unit* target, SpellEffectIndex eff) const override
Expand Down

0 comments on commit 5414c83

Please sign in to comment.