mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 14:47:50 +01:00
[MIRROR] misc fixes (#11926)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
d6afe6f558
commit
7cc9366073
@@ -171,9 +171,12 @@
|
||||
var/tforce = 0
|
||||
if(ismob(source))
|
||||
tforce = 40
|
||||
else if(isobj(source))
|
||||
else if(isitem(source))
|
||||
var/obj/item/I = source
|
||||
tforce = I.throwforce
|
||||
else if(isobj(source))
|
||||
var/obj/hitting_object = source
|
||||
tforce = hitting_object.w_class * 5
|
||||
if(reinf) tforce *= 0.25
|
||||
if(health - tforce <= 7 && !reinf)
|
||||
anchored = FALSE
|
||||
|
||||
Reference in New Issue
Block a user