mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
fix(Scripts/World): Set AnimTier of Proto-Drake Whelp to fly (#24151)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user