fix(Scripts/World): Set AnimTier of Proto-Drake Whelp to fly (#24151)

This commit is contained in:
Gultask
2025-12-21 10:30:58 -03:00
committed by GitHub
parent f6855f9561
commit af20eb00cf
2 changed files with 18 additions and 0 deletions

View File

@@ -821,6 +821,16 @@ struct npc_pet_darting_hatchling : public NullCreatureAI
}
};
struct npc_pet_proto_drake_whelp : public NullCreatureAI
{
npc_pet_proto_drake_whelp(Creature* c) : NullCreatureAI(c) { }
void Reset() override
{
me->SetAnimTier(AnimTier::Fly);
}
};
void AddSC_generic_pet_scripts()
{
RegisterCreatureAI(npc_pet_gen_soul_trader_beacon);
@@ -836,4 +846,5 @@ void AddSC_generic_pet_scripts()
RegisterCreatureAI(npc_pet_gen_fetch_ball);
RegisterCreatureAI(npc_pet_gen_moth);
RegisterCreatureAI(npc_pet_darting_hatchling);
RegisterCreatureAI(npc_pet_proto_drake_whelp);
}