mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-19 11:58:39 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user