From: Mario Date: Sat, 20 Apr 2013 06:57:14 +0000 (+1000) Subject: Properly lower turret power & increase buff count to 5 X-Git-Tag: xonotic-v0.8.0~241^2^2~336 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=798b8d743aced571af4eefb068ef7fff1ddfe9d7;p=xonotic%2Fxonotic-data.pk3dir.git Properly lower turret power & increase buff count to 5 --- 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;