Skip to content

Commit

Permalink
mecha cannon change (#16286)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lumipharon committed Jul 9, 2024
1 parent 82f99f6 commit 742790f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/modules/projectiles/ammo_types/heavy_ammo.dm
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@
bullet_color = COLOR_PULSE_BLUE
on_pierce_multiplier = 0.85

/datum/ammo/bullet/apfsds/on_hit_obj(obj/target_obj, obj/projectile/proj)
if(ishitbox(target_obj) || ismecha(target_obj) || isarmoredvehicle(target_obj))
proj.damage *= 1.5
proj.proj_max_range = 0

/datum/ammo/bullet/coilgun // ICC coilgun
name = "high-velocity tungsten slug"
hud_state = "railgun_ap"
Expand Down

0 comments on commit 742790f

Please sign in to comment.