Skip to content

Commit

Permalink
ex_act explosion crawling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fira committed Nov 9, 2023
1 parent 74ff522 commit 79a9740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/human.dm
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,10 @@
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)
apply_effect(round(knockout_minus_armor), STUN) // Remove this to let people crawl after an explosion. Funny but perhaps not desirable.
apply_effect(round(knockout_minus_armor) * 2, DAZE)
explosion_throw(severity, direction)

Expand Down

0 comments on commit 79a9740

Please sign in to comment.