1 string Buff_UndeprecateName(string buffname)
5 case "ammoregen": return "ammo";
6 case "haste": case "scout": return "speed";
7 case "doubler": return "medic";
8 case "invis": return "invisible";
9 default: return buffname;
14 this.m_prettyName = _("Ammo");
17 this.m_color = '0.76 1 0.1';
19 BUFF_SPAWNFUNCS(ammo, BUFF_AMMO)
20 BUFF_SPAWNFUNC_Q3TA_COMPAT(ammoregen, BUFF_AMMO)
22 REGISTER_BUFF(RESISTANCE) {
23 this.m_prettyName = _("Resistance");
24 this.m_name = "resistance";
26 this.m_color = '0.36 1 0.07';
28 BUFF_SPAWNFUNCS(resistance, BUFF_RESISTANCE)
29 BUFF_SPAWNFUNC_Q3TA_COMPAT(resistance, BUFF_RESISTANCE)
31 REGISTER_BUFF(SPEED) {
32 this.m_prettyName = _("Speed");
33 this.m_name = "speed";
35 this.m_color = '0.1 1 0.84';
37 BUFF_SPAWNFUNCS(speed, BUFF_SPEED)
38 BUFF_SPAWNFUNC_Q3TA_COMPAT(haste, BUFF_SPEED)
39 BUFF_SPAWNFUNC_Q3TA_COMPAT(scout, BUFF_SPEED)
41 REGISTER_BUFF(MEDIC) {
42 this.m_prettyName = _("Medic");
43 this.m_name = "medic";
45 this.m_color = '1 0.12 0';
47 BUFF_SPAWNFUNCS(medic, BUFF_MEDIC)
48 BUFF_SPAWNFUNC_Q3TA_COMPAT(doubler, BUFF_MEDIC)
49 BUFF_SPAWNFUNC_Q3TA_COMPAT(medic, BUFF_MEDIC)
52 this.m_prettyName = _("Bash");
55 this.m_color = '1 0.39 0';
57 BUFF_SPAWNFUNCS(bash, BUFF_BASH)
59 REGISTER_BUFF(VAMPIRE) {
60 this.m_prettyName = _("Vampire");
61 this.m_name = "vampire";
63 this.m_color = '1 0 0.24';
65 BUFF_SPAWNFUNCS(vampire, BUFF_VAMPIRE)
67 REGISTER_BUFF(DISABILITY) {
68 this.m_prettyName = _("Disability");
69 this.m_name = "disability";
71 this.m_color = '0.94 0.3 1';
73 BUFF_SPAWNFUNCS(disability, BUFF_DISABILITY)
75 REGISTER_BUFF(VENGEANCE) {
76 this.m_prettyName = _("Vengeance");
77 this.m_name = "vengeance";
79 this.m_color = '1 0.23 0.61';
81 BUFF_SPAWNFUNCS(vengeance, BUFF_VENGEANCE)
84 this.m_prettyName = _("Jump");
87 this.m_color = '0.24 0.78 1';
89 BUFF_SPAWNFUNCS(jump, BUFF_JUMP)
91 REGISTER_BUFF(INVISIBLE) {
92 this.m_prettyName = _("Invisible");
93 this.m_name = "invisible";
95 this.m_color = '0.5 0.5 1';
97 BUFF_SPAWNFUNCS(invisible, BUFF_INVISIBLE)
98 BUFF_SPAWNFUNC_Q3TA_COMPAT(invis, BUFF_INVISIBLE)
100 REGISTER_BUFF(INFERNO) {
101 this.m_prettyName = _("Inferno");
102 this.m_name = "inferno";
104 this.m_color = '1 0.62 0';
106 BUFF_SPAWNFUNCS(inferno, BUFF_INFERNO)
108 REGISTER_BUFF(SWAPPER) {
109 this.m_prettyName = _("Swapper");
110 this.m_name = "swapper";
112 this.m_color = '0.63 0.36 1';
114 BUFF_SPAWNFUNCS(swapper, BUFF_SWAPPER)
116 REGISTER_BUFF(MAGNET) {
117 this.m_prettyName = _("Magnet");
118 this.m_name = "magnet";
120 this.m_color = '1 0.95 0.18';
122 BUFF_SPAWNFUNCS(magnet, BUFF_MAGNET)
124 REGISTER_BUFF(LUCK) {
125 this.m_prettyName = _("Luck");
126 this.m_name = "luck";
128 this.m_color = '1 0.23 0.44';
130 BUFF_SPAWNFUNCS(luck, BUFF_LUCK)
132 REGISTER_BUFF(FLIGHT) {
133 this.m_prettyName = _("Flight");
134 this.m_name = "flight";
136 this.m_color = '0.23 0.44 1';
138 BUFF_SPAWNFUNCS(flight, BUFF_FLIGHT)