Browse Source

stronghold mobs spawn 2x mines cap size

lakebane-strongholds
FatBoy-DOTC 4 months ago
parent
commit
1a5db96023
  1. 2
      src/engine/gameManager/StrongholdManager.java

2
src/engine/gameManager/StrongholdManager.java

@ -58,7 +58,7 @@ public class StrongholdManager {
WorldGrid.updateObject(tower); WorldGrid.updateObject(tower);
//create elite mobs //create elite mobs
for(int i = 0; i < 10; i++){ for(int i = 0; i < mine.capSize * 2; i++){
Vector3fImmutable loc = Vector3fImmutable.getRandomPointOnCircle(tower.loc,30); Vector3fImmutable loc = Vector3fImmutable.getRandomPointOnCircle(tower.loc,30);
MobBase guardBase = MobBase.getMobBase(getStrongholdGuardianID(tower.meshUUID)); MobBase guardBase = MobBase.getMobBase(getStrongholdGuardianID(tower.meshUUID));
Mob guard = Mob.createMob(guardBase.getLoadID(), loc, Guild.getErrantGuild(),true,mineZone,null,0, guardBase.getFirstName(),65); Mob guard = Mob.createMob(guardBase.getLoadID(), loc, Guild.getErrantGuild(),true,mineZone,null,0, guardBase.getFirstName(),65);

Loading…
Cancel
Save