Browse Source

adjusted and scaled mine hitpoints

lakebane-master
FatBoy-DOTC 10 months ago
parent
commit
6a28574471
  1. 3
      src/engine/objects/Mine.java

3
src/engine/objects/Mine.java

@ -105,6 +105,9 @@ public class Mine extends AbstractGameObject {
//if(capRoll >= 67 && capRoll <= 100){ //if(capRoll >= 67 && capRoll <= 100){
// this.capSize = 20; // 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) { public static void releaseMineClaims(PlayerCharacter playerCharacter) {

Loading…
Cancel
Save