Skip to content

Commit

Permalink
explicit explosion stun
Browse files Browse the repository at this point in the history
  • Loading branch information
fira committed Nov 13, 2023
1 parent ddb1ff6 commit 084c827
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/modules/mob/living/carbon/human/human.dm
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@
var/obj/item/item1 = get_active_hand()
var/obj/item/item2 = get_inactive_hand()
apply_effect(round(knockdown_minus_armor), WEAKEN)
apply_effect(round(knockdown_minus_armor), STUN) // Remove this to let people crawl after an explosion. Funny but perhaps not desirable.
var/knockout_value = damage * 0.1
var/knockout_minus_armor = min(knockout_value * bomb_armor_mult * 0.5, 0.5 SECONDS) // the KO time is halved from the knockdown timer. basically same stun time, you just spend less time KO'd.
apply_effect(round(knockout_minus_armor), PARALYZE)
Expand Down

0 comments on commit 084c827

Please sign in to comment.