mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-26 06:39:22 +01:00
Throwing Crit/Dead humanmobs now damages them
🆑 tweak - Throwing critically injured/dead humanmobs now damages them further. /🆑
This commit is contained in:
@@ -1006,6 +1006,10 @@
|
||||
var/turf/end_T = get_turf(target)
|
||||
if(end_T)
|
||||
add_attack_logs(src,M,"Thrown via grab to [end_T.x],[end_T.y],[end_T.z]")
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/N = M
|
||||
if((N.health + N.halloss) < config.health_threshold_crit || N.stat == DEAD)
|
||||
N.adjustBruteLoss(rand(10,30))
|
||||
src.drop_from_inventory(G)
|
||||
|
||||
src.drop_from_inventory(item)
|
||||
|
||||
Reference in New Issue
Block a user