From 798b8d743aced571af4eefb068ef7fff1ddfe9d7 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 20 Apr 2013 16:57:14 +1000 Subject: [PATCH] Properly lower turret power & increase buff count to 5 --- qcsrc/server/mutators/gamemode_towerdefense.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/mutators/gamemode_towerdefense.qc b/qcsrc/server/mutators/gamemode_towerdefense.qc index 632075a2b..b2b46b294 100644 --- a/qcsrc/server/mutators/gamemode_towerdefense.qc +++ b/qcsrc/server/mutators/gamemode_towerdefense.qc @@ -925,7 +925,7 @@ MUTATOR_HOOKFUNCTION(td_TurretSpawn) return TRUE; // wasn't spawned by a player self.bot_attack = FALSE; - self.turret_buff = 0.2; // half power by default + buffturret(self, 0.5); return FALSE; } @@ -1008,7 +1008,7 @@ MUTATOR_HOOKFUNCTION(td_PlayerCommand) Send_Notification(NOTIF_ONE, self, MSG_INFO, INFO_TD_NOFUEL_UPGRADE, autocvar_g_td_turret_upgrade_cost); return TRUE; } - if(trace_ent.turret_buff >= 3) + if(trace_ent.turret_buff >= 5) { Send_Notification(NOTIF_ONE, self, MSG_INFO, INFO_TD_MAXPOWER); return TRUE; -- 2.39.2