From 6a28574471af20a60494d642edec85381f885165 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 17 Feb 2024 21:08:58 -0600 Subject: [PATCH] adjusted and scaled mine hitpoints --- src/engine/objects/Mine.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index 0d87b125..9bda9c11 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -105,6 +105,9 @@ public class Mine extends AbstractGameObject { //if(capRoll >= 67 && capRoll <= 100){ // this.capSize = 20; //} + Building mineTower = BuildingManager.getBuilding(this.buildingID); + mineTower.setMaxHitPoints(5000 * this.capSize); + mineTower.setCurrentHitPoints((float)5000 * this.capSize); } public static void releaseMineClaims(PlayerCharacter playerCharacter) {