1 string Buff_UndeprecateName(string buffname)
5 case "ammoregen": return "ammo";
6 case "haste": case "scout": return "speed";
7 case "guard": case "revival": case "regen": return "medic";
8 case "invis": return "invisible";
9 case "jumper": return "jump";
10 default: return buffname;
15 this.m_prettyName = _("Ammo");
18 this.m_color = '0.76 1 0.1';
20 BUFF_SPAWNFUNCS(ammo, BUFF_AMMO)
21 BUFF_SPAWNFUNC_Q3TA_COMPAT(ammoregen, BUFF_AMMO)
23 REGISTER_BUFF(RESISTANCE) {
24 this.m_prettyName = _("Resistance");
25 this.m_name = "resistance";
27 this.m_color = '0.36 1 0.07';
29 BUFF_SPAWNFUNCS(resistance, BUFF_RESISTANCE)
30 BUFF_SPAWNFUNC_Q3TA_COMPAT(resistance, BUFF_RESISTANCE)
32 REGISTER_BUFF(SPEED) {
33 this.m_prettyName = _("Speed");
34 this.m_name = "speed";
36 this.m_color = '0.1 1 0.84';
38 BUFF_SPAWNFUNCS(speed, BUFF_SPEED)
39 BUFF_SPAWNFUNC_Q3TA_COMPAT(haste, BUFF_SPEED)
40 BUFF_SPAWNFUNC_Q3TA_COMPAT(scout, BUFF_SPEED)
42 REGISTER_BUFF(MEDIC) {
43 this.m_prettyName = _("Medic");
44 this.m_name = "medic";
46 this.m_color = '1 0.12 0';
48 BUFF_SPAWNFUNCS(medic, BUFF_MEDIC)
49 BUFF_SPAWNFUNC_Q3TA_COMPAT(guard, BUFF_MEDIC)
50 BUFF_SPAWNFUNC_Q3TA_COMPAT(medic, BUFF_MEDIC)
51 BUFF_SPAWNFUNC_Q3TA_COMPAT(regen, BUFF_MEDIC)
52 BUFF_SPAWNFUNC_Q3TA_COMPAT(revival, BUFF_MEDIC)
55 this.m_prettyName = _("Bash");
58 this.m_color = '1 0.39 0';
60 BUFF_SPAWNFUNCS(bash, BUFF_BASH)
62 REGISTER_BUFF(VAMPIRE) {
63 this.m_prettyName = _("Vampire");
64 this.m_name = "vampire";
66 this.m_color = '1 0 0.24';
68 BUFF_SPAWNFUNCS(vampire, BUFF_VAMPIRE)
70 REGISTER_BUFF(DISABILITY) {
71 this.m_prettyName = _("Disability");
72 this.m_name = "disability";
74 this.m_color = '0.94 0.3 1';
76 BUFF_SPAWNFUNCS(disability, BUFF_DISABILITY)
78 REGISTER_BUFF(VENGEANCE) {
79 this.m_prettyName = _("Vengeance");
80 this.m_name = "vengeance";
82 this.m_color = '1 0.23 0.61';
84 BUFF_SPAWNFUNCS(vengeance, BUFF_VENGEANCE)
87 this.m_prettyName = _("Jump");
90 this.m_color = '0.24 0.78 1';
92 BUFF_SPAWNFUNCS(jump, BUFF_JUMP)
93 BUFF_SPAWNFUNC_Q3TA_COMPAT(jumper, BUFF_JUMP)
95 REGISTER_BUFF(INVISIBLE) {
96 this.m_prettyName = _("Invisible");
97 this.m_name = "invisible";
99 this.m_color = '0.5 0.5 1';
101 BUFF_SPAWNFUNCS(invisible, BUFF_INVISIBLE)
102 BUFF_SPAWNFUNC_Q3TA_COMPAT(invis, BUFF_INVISIBLE)
104 REGISTER_BUFF(INFERNO) {
105 this.m_prettyName = _("Inferno");
106 this.m_name = "inferno";
108 this.m_color = '1 0.62 0';
110 BUFF_SPAWNFUNCS(inferno, BUFF_INFERNO)
112 REGISTER_BUFF(SWAPPER) {
113 this.m_prettyName = _("Swapper");
114 this.m_name = "swapper";
116 this.m_color = '0.63 0.36 1';
118 BUFF_SPAWNFUNCS(swapper, BUFF_SWAPPER)
120 REGISTER_BUFF(MAGNET) {
121 this.m_prettyName = _("Magnet");
122 this.m_name = "magnet";
124 this.m_color = '1 0.95 0.18';
126 BUFF_SPAWNFUNCS(magnet, BUFF_MAGNET)
128 REGISTER_BUFF(LUCK) {
129 this.m_prettyName = _("Luck");
130 this.m_name = "luck";
132 this.m_color = '1 0.23 0.44';
134 BUFF_SPAWNFUNCS(luck, BUFF_LUCK)
136 REGISTER_BUFF(FLIGHT) {
137 this.m_prettyName = _("Flight");
138 this.m_name = "flight";
140 this.m_color = '0.23 0.44 1';
142 BUFF_SPAWNFUNCS(flight, BUFF_FLIGHT)
143 BUFF_SPAWNFUNC_Q3TA_COMPAT(flight, BUFF_FLIGHT)