From e10d26dae17f5c51e4d58020aa228b80a4880c29 Mon Sep 17 00:00:00 2001 From: Mini-Chiss Date: Mon, 3 Aug 2015 16:18:59 +0200 Subject: [PATCH] reduced respawn time in OITQ removed respawn msg for short respawn times --- .../Mineplex.Core/src/mineplex/core/reward/RewardType.java | 2 +- .../src/nautilus/game/arcade/game/games/quiver/Quiver.java | 2 +- .../src/nautilus/game/arcade/managers/GameFlagManager.java | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/reward/RewardType.java b/Plugins/Mineplex.Core/src/mineplex/core/reward/RewardType.java index 3807d4140..b40559d74 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/reward/RewardType.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/reward/RewardType.java @@ -6,7 +6,7 @@ public enum RewardType GameLoot( 0.000001, 0.00001, 0.0001, 3), OldChest( 0, 0.05, 0.4, 5), AncientChest( 0, 1, 4, 25), - MythicalChest( 0.35, 3, 12, 75); + MythicalChest( 0.4, 3, 12, 75); private double _mythicalChance; private double _legendaryChance; diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/quiver/Quiver.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/quiver/Quiver.java index 2bffb2d60..9793ac98c 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/quiver/Quiver.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/quiver/Quiver.java @@ -80,7 +80,7 @@ public class Quiver extends SoloGame this.BlockBreakAllow.add(102); this.BlockBreakAllow.add(20); - this.DeathSpectateSecs = 2; + this.DeathSpectateSecs = 1; _scoreObj = Scoreboard.GetScoreboard().registerNewObjective("Kills", "dummy"); _scoreObj.setDisplaySlot(DisplaySlot.BELOW_NAME); diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameFlagManager.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameFlagManager.java index 759ab84d2..0f25e0656 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameFlagManager.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameFlagManager.java @@ -727,8 +727,11 @@ public class GameFlagManager implements Listener return; } - UtilPlayer.message(player, C.cWhite + C.Bold + "You will respawn in " + time + " seconds..."); - UtilTextMiddle.display(null, "Respawning in " + time + " seconds...", 5, 40, 5, player); + if (time > 3) + { + UtilPlayer.message(player, C.cWhite + C.Bold + "You will respawn in " + time + " seconds..."); + UtilTextMiddle.display(null, "Respawning in " + time + " seconds...", 5, 40, 5, player); + } Manager.getPlugin().getServer().getScheduler().scheduleSyncDelayedTask(Manager.getPlugin(), new Runnable() {