Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plasmacutters one-shot common resin walls as intended #16788

Merged
merged 2 commits into from
Dec 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading