Core/Scripts: Fixed build of misc scripts, only zone_* and instance_* remain
This commit is contained in:
1 parent
a3d8f1d879
commit
48deb443f9
44 files changed
+263
-289
No files matched your search
@@ -41,17 +41,11 @@ class npc_pet_gen_mojo : public CreatureScript
|
||||
{
|
||||
npc_pet_gen_mojoAI(Creature* creature) : ScriptedAI(creature)
|
||||
{
|
||||
Initialize();
|
||||
}
|
||||
|
||||
void Initialize()
|
||||
{
|
||||
_victimGUID = 0;
|
||||
}
|
||||
|
||||
void Reset() override
|
||||
{
|
||||
Initialize();
|
||||
_victimGUID.Clear();
|
||||
|
||||
if (Unit* owner = me->GetOwner())
|
||||
me->GetMotionMaster()->MoveFollow(owner, 0.0f, 0.0f);
|
||||
@@ -84,7 +78,7 @@ class npc_pet_gen_mojo : public CreatureScript
|
||||
}
|
||||
|
||||
private:
|
||||
uint64 _victimGUID;
|
||||
ObjectGuid _victimGUID;
|
||||
};
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const override
|
||||
|
||||
Reference in new issue
Block a user