Browse Source

Siege Minion pawn time reset to nominal 15m. Soft code?

master
MagicBot 1 year ago
parent
commit
68f2bcef0e
  1. 4
      src/engine/net/client/handlers/MinionTrainingMsgHandler.java

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

@ -153,7 +153,7 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
if (siegeMob != null) { if (siegeMob != null) {
siegeMob.setSpawnTime(10); siegeMob.setSpawnTime(60 * 15);
Building building = BuildingManager.getBuilding(((MinionTrainingMessage) baseMsg).getBuildingID()); Building building = BuildingManager.getBuilding(((MinionTrainingMessage) baseMsg).getBuildingID());
@ -302,8 +302,6 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
if (toCreate == null) if (toCreate == null)
return true; return true;
// toCreate.despawn();
if (toCreate != null) { if (toCreate != null) {
toCreate.setDeathTime(System.currentTimeMillis()); toCreate.setDeathTime(System.currentTimeMillis());
toCreate.parentZone.zoneMobSet.add(toCreate); toCreate.parentZone.zoneMobSet.add(toCreate);

Loading…
Cancel
Save