Files
CHOMPStation2/code/modules/projectiles/projectile/magnetic_ch.dm
2025-08-16 13:48:43 +02:00

41 lines
1.1 KiB
Plaintext

/obj/item/projectile/bullet/magnetic/flechette/rapid
name = "rapid flechette"
icon_state = "flechette"
fire_sound = 'sound/weapons/rapidslice.ogg'
damage = 15
armor_penetration = 60 // Now that stun's gone from the parent type, we can boost this back up.
hud_state = "alloy_spike"
/obj/item/projectile/bullet/magnetic/fuelrod/blitz
name = "blitz rod"
icon = 'icons/obj/projectiles_ch.dmi'
icon_state = "fuel-blitz"
damage = 900
accuracy = 200
incendiary = 20
flammability = 4
weaken = 40
penetrating = 1
armor_penetration = 100
irradiate = 120
range = 75
searing = 1
detonate_travel = 1
detonate_mob = 1
energetic_impact = 1
hud_state = "rocket_thermobaric"
/obj/item/projectile/bullet/magnetic/fuelrod/blitz/on_impact(var/atom/A)
if(isturf(loc))
explosion(loc, 3, 4, 5, 10)
..(A)
/obj/item/projectile/bullet/magnetic/fuelrod/blitz/on_hit(atom/target, blocked = 0, def_zone)
var/mob/living/M = target
if(istype(M) && M.maxHealth<=200)
M.dust()
if(isturf(loc))
explosion(loc, 3, 4, 5, 10)
visible_message(span_warning("\The [src] impacts energetically with its target and shatters in a violent explosion!"))
..(target, blocked, def_zone)