mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
refactor(Scripts/ZulAman): Move Jan'alai Fire Bomb to SAI (#20496)
This commit is contained in:
@@ -333,17 +333,6 @@ private:
|
||||
bool _isFlameBreathing;
|
||||
};
|
||||
|
||||
struct npc_janalai_firebomb : public NullCreatureAI
|
||||
{
|
||||
npc_janalai_firebomb(Creature* creature) : NullCreatureAI(creature) { }
|
||||
|
||||
void SpellHit(Unit* /*caster*/, SpellInfo const* spell) override
|
||||
{
|
||||
if (spell->Id == SPELL_FIRE_BOMB_THROW)
|
||||
DoCastSelf(SPELL_FIRE_BOMB_DUMMY, true);
|
||||
}
|
||||
};
|
||||
|
||||
struct npc_janalai_hatcher : public ScriptedAI
|
||||
{
|
||||
npc_janalai_hatcher(Creature* creature) : ScriptedAI(creature)
|
||||
@@ -484,7 +473,6 @@ struct npc_janalai_egg : public NullCreatureAI
|
||||
void AddSC_boss_janalai()
|
||||
{
|
||||
RegisterZulAmanCreatureAI(boss_janalai);
|
||||
RegisterZulAmanCreatureAI(npc_janalai_firebomb);
|
||||
RegisterZulAmanCreatureAI(npc_janalai_hatcher);
|
||||
RegisterZulAmanCreatureAI(npc_janalai_hatchling);
|
||||
RegisterZulAmanCreatureAI(npc_janalai_egg);
|
||||
|
||||
Reference in New Issue
Block a user