// }}}
// {{{ electro // TODO
set g_balance_electro_lightning 1
-set g_balance_electro_primary_damage 2,
+set g_balance_electro_primary_damage 2
set g_balance_electro_primary_edgedamage 0
-set g_balance_electro_primary_force 30
+set g_balance_electro_primary_force 13
+set g_balance_electro_primary_force_up 100
set g_balance_electro_primary_radius 850
set g_balance_electro_primary_comboradius 0
set g_balance_electro_primary_speed 0
if(trace_fraction < 1)
{
Damage (trace_ent, self.owner, self.owner, cvar("g_balance_electro_primary_damage"), WEP_ELECTRO, trace_endpos, force);
- trace_ent.velocity = trace_ent.velocity * cvar("g_balance_electro_primary_velocityfactor");
+ trace_ent.velocity = trace_ent.velocity * cvar("g_balance_electro_primary_velocityfactor") + '0 0 1' * cvar("g_balance_electro_primary_force_up");
}
- self.scale = vlen(self.owner.origin - trace_endpos) / 256;
+ self.scale = vlen(self.owner.origin - trace_endpos) / 256 * (0.75 + 0.75 * random());
}
// experimental lightning gun