- // ugly instagib hack to reuse the fire mode of the laser
- makevectors(actor.v_angle);
- Weapon oldwep = actor.(weaponentity).m_weapon; // we can't avoid this hack
- actor.(weaponentity).m_weapon = WEP_BLASTER;
- W_Blaster_Attack(
- actor,
- weaponentity,
- WEP_BLASTER.m_id | HITTYPE_SECONDARY,
- WEP_CVAR_SEC(oknex, shotangle),
- WEP_CVAR_SEC(oknex, damage),
- WEP_CVAR_SEC(oknex, edgedamage),
- WEP_CVAR_SEC(oknex, radius),
- WEP_CVAR_SEC(oknex, force),
- WEP_CVAR_SEC(oknex, speed),
- WEP_CVAR_SEC(oknex, spread),
- WEP_CVAR_SEC(oknex, delay),
- WEP_CVAR_SEC(oknex, lifetime)
- );
- actor.(weaponentity).m_weapon = oldwep;