Browse Source

commander stats update

lakebane-strongholds
FatBoy-DOTC 5 months ago
parent
commit
15b50a75c4
  1. 4
      src/engine/gameManager/LootManager.java
  2. 12
      src/engine/objects/Mine.java

4
src/engine/gameManager/LootManager.java

@ -672,8 +672,8 @@ public enum LootManager {
if (commander) if (commander)
multiplier = 2; multiplier = 2;
int high = 500000; int high = 250000;
int low = 125000; int low = 65000;
int gold = ThreadLocalRandom.current().nextInt(low, high + 1) * multiplier; int gold = ThreadLocalRandom.current().nextInt(low, high + 1) * multiplier;
if (gold > 0) { if (gold > 0) {

12
src/engine/objects/Mine.java

@ -705,18 +705,18 @@ public class Mine extends AbstractGameObject {
} }
} }
//create stronghold commander //create stronghold commander
Mob commander = Mob.createMob(14315, tower.loc,Guild.getErrantGuild(),true,mineZone,null,0, "Guardian Commander",75); Mob commander = Mob.createMob(14293, tower.loc,Guild.getErrantGuild(),true,mineZone,null,0, "Guardian Commander",75);
if(commander != null){ if(commander != null){
commander.setLevel((short)75); commander.setLevel((short)75);
commander.setResists(new Resists("Elite")); commander.setResists(new Resists("Elite"));
commander.healthMax *= 2; commander.healthMax = 50000;
commander.setHealth(commander.healthMax); commander.setHealth(commander.healthMax);
commander.spawnTime = 1000000000; commander.spawnTime = 1000000000;
commander.BehaviourType = Enum.MobBehaviourType.Aggro; commander.BehaviourType = Enum.MobBehaviourType.Aggro;
commander.maxDamageHandOne *= 3; commander.maxDamageHandOne = 1500;
commander.minDamageHandOne *= 3; commander.minDamageHandOne = 3500;
commander.atrHandOne *= 3; commander.atrHandOne = 3500;
commander.defenseRating *= 3; commander.defenseRating = 3500;
commander.mobPowers.put(429413547,40); commander.mobPowers.put(429413547,40);
commander.mobPowers.put(429032838,40); commander.mobPowers.put(429032838,40);
commander.mobPowers.put(57584498,40); commander.mobPowers.put(57584498,40);

Loading…
Cancel
Save