From 1ce070f820045d2919edff3d48b13328bc4a7026 Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Sat, 9 May 2020 17:36:28 +1000 Subject: [PATCH] Change Q3TA/QL item_guard to spawn resistance buff instead of medic --- qcsrc/common/mutators/mutator/buffs/all.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qcsrc/common/mutators/mutator/buffs/all.inc b/qcsrc/common/mutators/mutator/buffs/all.inc index a65532307..5b53b3d65 100644 --- a/qcsrc/common/mutators/mutator/buffs/all.inc +++ b/qcsrc/common/mutators/mutator/buffs/all.inc @@ -4,7 +4,8 @@ string Buff_UndeprecateName(string buffname) { case "ammoregen": return "ammo"; case "haste": case "scout": return "speed"; - case "guard": case "revival": case "regen": return "medic"; + case "guard": return "resistance"; + case "revival": case "regen": return "medic"; case "invis": return "invisible"; case "jumper": return "jump"; default: return buffname; @@ -27,7 +28,7 @@ REGISTER_BUFF(RESISTANCE) { this.m_color = '0.36 1 0.07'; } BUFF_SPAWNFUNCS(resistance, BUFF_RESISTANCE) -BUFF_SPAWNFUNC_Q3TA_COMPAT(resistance, BUFF_RESISTANCE) +BUFF_SPAWNFUNC_Q3TA_COMPAT(guard, BUFF_RESISTANCE) REGISTER_BUFF(SPEED) { this.m_name = _("Speed"); @@ -46,7 +47,6 @@ REGISTER_BUFF(MEDIC) { this.m_color = '1 0.12 0'; } BUFF_SPAWNFUNCS(medic, BUFF_MEDIC) -BUFF_SPAWNFUNC_Q3TA_COMPAT(guard, BUFF_MEDIC) BUFF_SPAWNFUNC_Q3TA_COMPAT(regen, BUFF_MEDIC) BUFF_SPAWNFUNC_Q3TA_COMPAT(revival, BUFF_MEDIC) -- 2.39.2