From 6ae4adc4687ed27950aa1dc0397c99c6d81a47ef Mon Sep 17 00:00:00 2001 From: CroniX Date: Mon, 22 Jun 2020 20:15:19 +0200 Subject: [PATCH] Change Gangwar scoring v2 --- ReallifeGamemode.Server/Gangwar/Turf.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ReallifeGamemode.Server/Gangwar/Turf.cs b/ReallifeGamemode.Server/Gangwar/Turf.cs index cffa3e32..b07103d8 100644 --- a/ReallifeGamemode.Server/Gangwar/Turf.cs +++ b/ReallifeGamemode.Server/Gangwar/Turf.cs @@ -169,7 +169,7 @@ namespace ReallifeGamemode.Server.Gangwar { foreach (Player gangwarPlayer in this.playerInGangwar) { - gangwarPlayer.TriggerEvent("GangwarScore", this.Attacker, this.Owner, 0, 0); + gangwarPlayer.TriggerEvent("GangwarScore", this.Attacker, this.Owner, 5, 5); } this.takeOver(this.Owner); this.Att_Score = 5; @@ -178,7 +178,7 @@ namespace ReallifeGamemode.Server.Gangwar { foreach (Player gangwarPlayer in this.playerInGangwar) { - gangwarPlayer.TriggerEvent("GangwarScore", this.Attacker, this.Owner, 0, 0); + gangwarPlayer.TriggerEvent("GangwarScore", this.Attacker, this.Owner, 5, 5); } this.takeOver(this.Attacker); this.Def_Score = 5; @@ -188,7 +188,7 @@ namespace ReallifeGamemode.Server.Gangwar { foreach (Player gangwarPlayer in this.playerInGangwar) { - gangwarPlayer.TriggerEvent("GangwarScore", this.Attacker, this.Owner, 0, 0); + gangwarPlayer.TriggerEvent("GangwarScore", this.Attacker, this.Owner, 5, 5); } this.takeOver(this.Attacker); this.Def_Score = 5; @@ -341,11 +341,11 @@ namespace ReallifeGamemode.Server.Gangwar { if (getOwner() == FactionName) { - Def_Score += 1; + Att_Score += 1; } else if (getAttacker() == FactionName) { - Att_Score += 1; + Def_Score += 1; } } }