From 8e5e83c2b52caf872c8d682a6efd15a7f85975fb Mon Sep 17 00:00:00 2001 From: Atermonera Date: Wed, 25 Mar 2020 17:58:55 -0700 Subject: [PATCH 1/2] Prometheans can be slipped again (#6898) * Prometheans can be slipped again * Update human_attackhand.dm --- code/modules/mob/living/carbon/human/human_attackhand.dm | 5 ++++- html/changelogs/atermonera_prommie_slippers.yml | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 html/changelogs/atermonera_prommie_slippers.yml diff --git a/code/modules/mob/living/carbon/human/human_attackhand.dm b/code/modules/mob/living/carbon/human/human_attackhand.dm index 9a1da10910a..4fa4b8bc5fc 100644 --- a/code/modules/mob/living/carbon/human/human_attackhand.dm +++ b/code/modules/mob/living/carbon/human/human_attackhand.dm @@ -296,7 +296,10 @@ var/randn = rand(1, 100) last_push_time = world.time - if(!(species.flags & NO_SLIP) && randn <= 25) + // We ARE wearing shoes OR + // We as a species CAN be slipped when barefoot + // And also 1 in 4 because rngesus + if((shoes || !(species.flags & NO_SLIP)) && randn <= 25) var/armor_check = run_armor_check(affecting, "melee") apply_effect(3, WEAKEN, armor_check) playsound(loc, 'sound/weapons/thudswoosh.ogg', 50, 1, -1) diff --git a/html/changelogs/atermonera_prommie_slippers.yml b/html/changelogs/atermonera_prommie_slippers.yml new file mode 100644 index 00000000000..72fdc1e3e05 --- /dev/null +++ b/html/changelogs/atermonera_prommie_slippers.yml @@ -0,0 +1,4 @@ +author: Atermonera +delete-after: True +changes: + - bugfix: "Prometheans can be slipped again"