rnaodm flag mine as lore or arac
This commit is contained in:
@@ -30,6 +30,7 @@ import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Iterator;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.concurrent.ThreadLocalRandom;
|
||||
|
||||
import static engine.gameManager.DbManager.MineQueries;
|
||||
import static engine.gameManager.DbManager.getObject;
|
||||
@@ -152,6 +153,9 @@ public class Mine extends AbstractGameObject {
|
||||
tower.setCurrentHitPoints(tower.healthMax);
|
||||
}
|
||||
this.allowed_teleport_time = System.currentTimeMillis();
|
||||
|
||||
//decide if lore or not
|
||||
this.enforceLore = ThreadLocalRandom.current().nextInt(1,3) == 2;
|
||||
}
|
||||
|
||||
public static void releaseMineClaims(PlayerCharacter playerCharacter) {
|
||||
|
||||
Reference in New Issue
Block a user