forked from MagicBane/Server
adjusted and scaled mine hitpoints
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user