Projectiles now gib limbs instead of slicing them off. (#20178)

title

means that when you go past max_damage on a limb you'll gib it instead
of just delimbing it

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2024-11-16 20:52:34 +01:00
committed by GitHub
parent ac1cbcf709
commit d7d4cc0a9a
2 changed files with 60 additions and 2 deletions
+2 -2
View File
@@ -521,8 +521,8 @@
/// Certain limbs like zombie limbs have an integrated maiming bonus that make them easier to delimb. Add that.
var/maim_bonus_to_add = src.maim_bonus
if(isitem(used_weapon))
var/obj/item/W = used_weapon
if(isobj(used_weapon))
var/obj/W = used_weapon
dam_flags = W.damage_flags()
if(isprojectile(W))
var/obj/projectile/P = W