Removed the state and custom name columns from the enpc table. Renamed server_spawn_locations to server_eventnpc_spawn_locations. Renamed animationId to motionPack.

This commit is contained in:
Filip Maj 2022-02-13 19:24:09 -05:00
parent cfe6ef2e5e
commit 9097e557ed
6 changed files with 1101 additions and 1090 deletions

View file

@ -517,7 +517,7 @@ namespace Meteor.Map.Actors
if (actorClass == null)
return;
Npc npc = new Npc(mActorList.Count + 1, actorClass, location.uniqueId, this, location.x, location.y, location.z, location.rot, location.state, location.animId, null);
Npc npc = new Npc(mActorList.Count + 1, actorClass, location.uniqueId, this, location.x, location.y, location.z, location.rot, 0, location.motionPack, null);
npc.LoadEventConditions(actorClass.eventConditions);