1 string Buff_UndeprecateName(string buffname)
5 case "ammoregen": return "ammo"; // Q3TA ammoregen
6 case "haste": return "speed"; // Q3A haste
7 case "doubler": return "inferno"; // Q3TA doubler
8 case "scout": return "bash"; // Q3TA scout
9 case "guard": return "resistance"; // Q3TA guard
10 case "revival": case "regen": return "medic"; // WOP revival, Q3A regen
11 case "invis": return "invisible"; // Q3A invis
12 case "jumper": return "jump"; // WOP jumper
13 default: return buffname;
18 this.m_name = _("Ammo");
19 this.netname = "ammo";
21 this.m_color = '0.76 1 0.1';
23 BUFF_SPAWNFUNCS(ammo, BUFF_AMMO)
24 BUFF_SPAWNFUNC_Q3TA_COMPAT(ammoregen, BUFF_AMMO)
26 REGISTER_BUFF(RESISTANCE) {
27 this.m_name = _("Resistance");
28 this.netname = "resistance";
30 this.m_color = '0.36 1 0.07';
32 BUFF_SPAWNFUNCS(resistance, BUFF_RESISTANCE)
33 BUFF_SPAWNFUNC_Q3TA_COMPAT(guard, BUFF_RESISTANCE)
35 REGISTER_BUFF(SPEED) {
36 this.m_name = _("Speed");
37 this.netname = "speed";
39 this.m_color = '0.1 1 0.84';
41 BUFF_SPAWNFUNCS(speed, BUFF_SPEED)
42 BUFF_SPAWNFUNC_Q3TA_COMPAT(haste, BUFF_SPEED)
44 REGISTER_BUFF(MEDIC) {
45 this.m_name = _("Medic");
46 this.netname = "medic";
48 this.m_color = '1 0.12 0';
50 BUFF_SPAWNFUNCS(medic, BUFF_MEDIC)
51 BUFF_SPAWNFUNC_Q3TA_COMPAT(regen, BUFF_MEDIC)
52 BUFF_SPAWNFUNC_Q3TA_COMPAT(revival, BUFF_MEDIC)
55 this.m_name = _("Bash");
56 this.netname = "bash";
58 this.m_color = '1 0.39 0';
60 BUFF_SPAWNFUNCS(bash, BUFF_BASH)
61 BUFF_SPAWNFUNC_Q3TA_COMPAT(scout, BUFF_BASH)
63 REGISTER_BUFF(VAMPIRE) {
64 this.m_name = _("Vampire");
65 this.netname = "vampire";
67 this.m_color = '1 0 0.24';
69 BUFF_SPAWNFUNCS(vampire, BUFF_VAMPIRE)
71 REGISTER_BUFF(DISABILITY) {
72 this.m_name = _("Disability");
73 this.netname = "disability";
75 this.m_color = '0.94 0.3 1';
77 BUFF_SPAWNFUNCS(disability, BUFF_DISABILITY)
79 REGISTER_BUFF(VENGEANCE) {
80 this.m_name = _("Vengeance");
81 this.netname = "vengeance";
83 this.m_color = '1 0.23 0.61';
85 BUFF_SPAWNFUNCS(vengeance, BUFF_VENGEANCE)
88 this.m_name = _("Jump");
89 this.netname = "jump";
91 this.m_color = '0.24 0.78 1';
93 BUFF_SPAWNFUNCS(jump, BUFF_JUMP)
94 BUFF_SPAWNFUNC_Q3TA_COMPAT(jumper, BUFF_JUMP)
96 REGISTER_BUFF(INVISIBLE) {
97 this.m_name = _("Invisible");
98 this.netname = "invisible";
100 this.m_color = '0.5 0.5 1';
102 BUFF_SPAWNFUNCS(invisible, BUFF_INVISIBLE)
103 BUFF_SPAWNFUNC_Q3TA_COMPAT(invis, BUFF_INVISIBLE)
105 REGISTER_BUFF(INFERNO) {
106 this.m_name = _("Inferno");
107 this.netname = "inferno";
109 this.m_color = '1 0.62 0';
111 BUFF_SPAWNFUNCS(inferno, BUFF_INFERNO)
112 BUFF_SPAWNFUNC_Q3TA_COMPAT(doubler, BUFF_INFERNO)
114 REGISTER_BUFF(SWAPPER) {
115 this.m_name = _("Swapper");
116 this.netname = "swapper";
118 this.m_color = '0.63 0.36 1';
120 BUFF_SPAWNFUNCS(swapper, BUFF_SWAPPER)
122 REGISTER_BUFF(MAGNET) {
123 this.m_name = _("Magnet");
124 this.netname = "magnet";
126 this.m_color = '1 0.95 0.18';
128 BUFF_SPAWNFUNCS(magnet, BUFF_MAGNET)
130 REGISTER_BUFF(LUCK) {
131 this.m_name = _("Luck");
132 this.netname = "luck";
134 this.m_color = '1 0.23 0.44';
136 BUFF_SPAWNFUNCS(luck, BUFF_LUCK)
138 REGISTER_BUFF(FLIGHT) {
139 this.m_name = _("Flight");
140 this.netname = "flight";
142 this.m_color = '0.23 0.44 1';
144 BUFF_SPAWNFUNCS(flight, BUFF_FLIGHT)
145 BUFF_SPAWNFUNC_Q3TA_COMPAT(flight, BUFF_FLIGHT)