w_cvar(WEP_FIREBALL, fireball, MO_BOTH, damage) \
w_cvar(WEP_FIREBALL, fireball, MO_BOTH, damageforcescale) \
w_cvar(WEP_FIREBALL, fireball, MO_BOTH, speed) \
+ w_cvar(WEP_FIREBALL, fireball, MO_BOTH, spread) \
w_cvar(WEP_FIREBALL, fireball, MO_BOTH, lifetime) \
w_cvar(WEP_FIREBALL, fireball, MO_BOTH, laserburntime) \
w_cvar(WEP_FIREBALL, fireball, MO_BOTH, laserdamage) \
w_cvar(WEP_FIREBALL, fireball, MO_PRI, bfgradius) \
w_cvar(WEP_FIREBALL, fireball, MO_SEC, damagetime) \
w_cvar(WEP_FIREBALL, fireball, MO_SEC, speed_up) \
- w_prop(WEP_FIREBALL, fireball, reloading_ammo, reload_ammo) \
- w_prop(WEP_FIREBALL, fireball, reloading_time, reload_time) \
- w_prop(WEP_FIREBALL, fireball, switchdelay_raise, switchdelay_raise) \
- w_prop(WEP_FIREBALL, fireball, switchdelay_drop, switchdelay_drop)
+ w_cvar(WEP_FIREBALL, fireball, MO_SEC, speed_z) \
+ w_prop(WEP_FIREBALL, fireball, float, reloading_ammo, reload_ammo) \
+ w_prop(WEP_FIREBALL, fireball, float, reloading_time, reload_time) \
+ w_prop(WEP_FIREBALL, fireball, float, switchdelay_raise, switchdelay_raise) \
+ w_prop(WEP_FIREBALL, fireball, float, switchdelay_drop, switchdelay_drop) \
+ w_prop(WEP_FIREBALL, fireball, string, weaponreplace, weaponreplace) \
+ w_prop(WEP_FIREBALL, fireball, float, weaponstart, weaponstart) \
+ w_prop(WEP_FIREBALL, fireball, float, weaponstartoverride, weaponstartoverride)
#ifdef SVQC
FIREBALL_SETTINGS(WEP_ADD_CVAR, WEP_ADD_PROP)
setorigin(proj, w_shotorg);
proj.movetype = MOVETYPE_FLY;
- W_SETUPPROJECTILEVELOCITY(proj, g_balance_fireball_primary);
+ WEP_SETUPPROJVELOCITY_PRI(proj, fireball);
proj.angles = vectoangles(proj.velocity);
proj.touch = W_Fireball_TouchExplode;
setsize(proj, '-16 -16 -16', '16 16 16');
proj.nextthink = time;
proj.damageforcescale = WEP_CVAR_SEC(fireball, damageforcescale);
proj.pushltime = time + WEP_CVAR_SEC(fireball, lifetime);
- W_SETUPPROJECTILEVELOCITY_UP(proj, g_balance_fireball_secondary);
+ WEP_SETUPPROJVELOCITY_UP_SEC(proj, fireball);
proj.angles = vectoangles(proj.velocity);
proj.flags = FL_PROJECTILE;