mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 06:00:16 +01:00
Fixes Boneless Smite (#78449)
## About The Pull Request The boneless smite was using a list of strings instead of a list of numbers, and didn't work as a result. This just fixes it. Fixes #78437. ## Why It's Good For The Game Bugfixes good. ## Changelog 🆑 admin: Boneless smite should work properly again. /🆑
This commit is contained in:
@@ -11,11 +11,9 @@
|
||||
|
||||
var/mob/living/carbon/carbon_target = target
|
||||
for(var/obj/item/bodypart/limb as anything in carbon_target.bodyparts)
|
||||
var/severity = pick(list(
|
||||
"[WOUND_SEVERITY_MODERATE]",
|
||||
"[WOUND_SEVERITY_SEVERE]",
|
||||
"[WOUND_SEVERITY_SEVERE]",
|
||||
"[WOUND_SEVERITY_CRITICAL]",
|
||||
"[WOUND_SEVERITY_CRITICAL]",
|
||||
var/severity = pick_weight(list(
|
||||
WOUND_SEVERITY_MODERATE = 1,
|
||||
WOUND_SEVERITY_SEVERE = 2,
|
||||
WOUND_SEVERITY_CRITICAL = 2,
|
||||
))
|
||||
carbon_target.cause_wound_of_type_and_severity(WOUND_BLUNT, limb, severity)
|
||||
|
||||
Reference in New Issue
Block a user