Skip to content

Commit

Permalink
Plasmacutters one-shot common resin walls as intended (#16788)
Browse files Browse the repository at this point in the history
  • Loading branch information
Runian authored Dec 8, 2024
1 parent db0bd0d commit f38d83c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/game/turfs/walls/resin.dm
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@
user.changeNext_move(plasmacutter.attack_speed)
user.do_attack_animation(src, used_item = plasmacutter)
plasmacutter.cut_apart(user, name, src, charge_cost)
take_damage(max(0, plasmacutter.force * (1 + PLASMACUTTER_RESIN_MULTIPLIER)), plasmacutter.damtype, MELEE)
// 301 damage. Enough to kill normal and thick walls.
// Only reason why this is not ChangeTurf is to stop special walls from getting one-shot (e.g more health / melee armor).
take_damage(max(0, plasmacutter.force * (2 + PLASMACUTTER_RESIN_MULTIPLIER)), plasmacutter.damtype, MELEE)
playsound(src, SFX_ALIEN_RESIN_BREAK, 25)
return TRUE

Expand Down

0 comments on commit f38d83c

Please sign in to comment.