|
|
@ -319,13 +319,11 @@ public enum NPCManager { |
|
|
|
slot += guardCaptain.siegeMinionMap.size() + 1; |
|
|
|
slot += guardCaptain.siegeMinionMap.size() + 1; |
|
|
|
|
|
|
|
|
|
|
|
guardCaptain.siegeMinionMap.put(mob, slot); |
|
|
|
guardCaptain.siegeMinionMap.put(mob, slot); |
|
|
|
//mob.setInBuildingLoc(guardCaptain.building, guardCaptain);
|
|
|
|
mob.setInBuildingLoc(guardCaptain.building, guardCaptain); |
|
|
|
//mob.setBindLoc(loc.add(mob.inBuildingLoc));
|
|
|
|
mob.setBindLoc(loc.add(mob.inBuildingLoc)); |
|
|
|
mob.deathTime = System.currentTimeMillis(); |
|
|
|
mob.deathTime = System.currentTimeMillis(); |
|
|
|
mob.spawnTime = 900; |
|
|
|
mob.spawnTime = 900; |
|
|
|
mob.npcOwner = guardCaptain; |
|
|
|
mob.npcOwner = guardCaptain; |
|
|
|
mob.setBindLoc(guardCaptain.building.getLoc()); |
|
|
|
|
|
|
|
MovementManager.translocate(mob,guardCaptain.building.getLoc(),null); |
|
|
|
|
|
|
|
mob.BehaviourType = Enum.MobBehaviourType.GuardMinion; |
|
|
|
mob.BehaviourType = Enum.MobBehaviourType.GuardMinion; |
|
|
|
return mob; |
|
|
|
return mob; |
|
|
|
} |
|
|
|
} |
|
|
|