adjusted and scaled mine hitpoints

This commit is contained in:
2024-02-17 21:08:58 -06:00
parent 11faa98503
commit 6a28574471
+3
View File
@@ -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) {