forked from MagicBane/Server
rnaodm flag mine as lore or arac
This commit is contained in:
@@ -87,6 +87,7 @@ public class LoreMineManager {
|
||||
Vector3fImmutable bounceLoc = Vector3fImmutable.getRandomPointOnCircle(ZoneManager.getZoneByUUID(656).getLoc(),30f);
|
||||
pc.setLoc(bounceLoc);
|
||||
MovementManager.translocate(pc, bounceLoc, Regions.GetRegionForTeleport(ZoneManager.getZoneByUUID(656).getLoc()));
|
||||
ChatManager.chatSystemInfo(pc, "You Failed To Meet Lore Requirements");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -155,7 +155,7 @@ public class Mine extends AbstractGameObject {
|
||||
this.allowed_teleport_time = System.currentTimeMillis();
|
||||
|
||||
//decide if lore or not
|
||||
this.enforceLore = ThreadLocalRandom.current().nextInt(1,3) == 2;
|
||||
this.enforceLore = ThreadLocalRandom.current().nextInt(1,5) == 2;
|
||||
}
|
||||
|
||||
public static void releaseMineClaims(PlayerCharacter playerCharacter) {
|
||||
|
||||
Reference in New Issue
Block a user