change Gangwar-time & change KH-time & edit Indroduction & change help & delete Ahelp

This commit is contained in:
michael.reiswich
2021-04-03 11:51:27 +02:00
parent b4326c11cc
commit dacaf84cf7
8 changed files with 20 additions and 14 deletions

View File

@@ -118,11 +118,9 @@ namespace ReallifeGamemode.Server.Gangwar
{
var t = Task.Factory.StartNew(() =>
{
ChatService.Broadcast("DEBUG: reloadGangTurfs(...)");
Task.Delay(10000).Wait();
Gangwar.loadTurfs();
Gangwar.loadTurfs_ToAllPlayers();
ChatService.Broadcast("DEBUG: reloadGangTurfs()...10 Sekunden um");
});
t.Wait();
@@ -167,7 +165,7 @@ namespace ReallifeGamemode.Server.Gangwar
foreach (Player gangwarPlayer in this.playerInGangwar)
{
gangwarPlayer.TriggerEvent("GangwarScore", this.Attacker, this.Owner, this.Att_Score, this.Def_Score, 40 - timerCount);
gangwarPlayer.TriggerEvent("GangwarScore", this.Attacker, this.Owner, this.Att_Score, this.Def_Score, 900 - timerCount);
}
/*if (this.Att_Score >= 200)
{
@@ -178,7 +176,7 @@ namespace ReallifeGamemode.Server.Gangwar
this.takeOver(this.Owner);
}*/
timerCount += 1;
if (timerCount >= 40) //change to 900 (seconds) before release for testing reasons change to whatever you like
if (timerCount >= 900) //change to 900 (seconds) before release for testing reasons change to whatever you like
{
if (this.Att_Score > this.Def_Score)
{