From 802415be8f6b6c7e3e46bfebfb5f13de228f77a2 Mon Sep 17 00:00:00 2001 From: Chiss Date: Sat, 26 Jul 2014 20:57:40 +1000 Subject: [PATCH] -1 team kills for suicide (only after bridge drop) --- .../nautilus/game/arcade/game/games/bridge/Bridge.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/bridge/Bridge.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/bridge/Bridge.java index c44839bf2..ac3797ca3 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/bridge/Bridge.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/bridge/Bridge.java @@ -168,6 +168,7 @@ public class Bridge extends TeamGame implements OreObsfucation "Gather resources and prepare for combat.", "After 10 minutes, The Bridges will emerge.", "Special loot is located in the center.", + "Killing yourself counts as -1 team kill.", "Team with the most kills wins!" }; } @@ -1201,6 +1202,13 @@ public class Bridge extends TeamGame implements OreObsfucation else _tournamentKills.put(killerTeam, _tournamentKills.get(killerTeam) + 1); } + else if (_bridgesDown) + { + if (!_tournamentKills.containsKey(killedTeam)) + _tournamentKills.put(killedTeam, -1); + else + _tournamentKills.put(killedTeam, _tournamentKills.get(killedTeam) - 1); + } } }