Browse Source

Spawn temporal adjustment for debugging siege mobs.

master
MagicBot 1 year ago
parent
commit
0d72798680
  1. 2
      src/engine/net/client/handlers/MinionTrainingMsgHandler.java

2
src/engine/net/client/handlers/MinionTrainingMsgHandler.java

@ -152,7 +152,7 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
// toCreate.despawn(); // toCreate.despawn();
if (toCreate != null) { if (toCreate != null) {
toCreate.setSpawnTime(60 * 15); toCreate.setSpawnTime(10);
Building building = BuildingManager.getBuilding(((MinionTrainingMessage) baseMsg).getBuildingID()); Building building = BuildingManager.getBuilding(((MinionTrainingMessage) baseMsg).getBuildingID());
int slot = ((NPC) toCreate.npcOwner).getSiegeMinionMap().get(toCreate); int slot = ((NPC) toCreate.npcOwner).getSiegeMinionMap().get(toCreate);
Vector3fImmutable slotLocation; Vector3fImmutable slotLocation;

Loading…
Cancel
Save