示例#1
0
 internal Mob(int id, int mapid, int mobid, Pos position, short foothold, MobControlStatus controlStatus)
     : base(foothold, position, 2)
 {
     Damages = new Dictionary<int, ulong>();
     OriginalFoothold = foothold;
     MobID = mobid;
     MapID = mapid;
     SpawnID = id;
     ControlStatus = controlStatus;
     DoesRespawn = true;
     OriginalPosition = position;
     Position = position;
     DeadsInFiveMinutes = 0;
     Init();
 }
示例#2
0
 public void setControlStatus(MobControlStatus mcs)
 {
     //MobPacket.SendMobRequestEndControl(null, this);
     //MobPacket.SendMobSpawn(null, this, 0, null, false, false);
     //ControlStatus = mcs;
     //DataProvider.Maps[MapID].UpdateMobControl(this, false, null);
 }