mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 18:02:57 +00:00
Obligatory.
This commit is contained in:
@@ -209,6 +209,8 @@
|
|||||||
/// How much stamina this takes to swing this is not for realism purposes hecc off.
|
/// How much stamina this takes to swing this is not for realism purposes hecc off.
|
||||||
/obj/item/proc/getweight(mob/living/user, multiplier = 1, flags = NONE)
|
/obj/item/proc/getweight(mob/living/user, multiplier = 1, flags = NONE)
|
||||||
. = (total_mass || w_class * STAM_COST_W_CLASS_MULT) * multiplier
|
. = (total_mass || w_class * STAM_COST_W_CLASS_MULT) * multiplier
|
||||||
|
if(!user)
|
||||||
|
return
|
||||||
var/bad_flag = NONE
|
var/bad_flag = NONE
|
||||||
if(iscarbon(user) && !(user.combat_flags & COMBAT_FLAG_COMBAT_ACTIVE))
|
if(iscarbon(user) && !(user.combat_flags & COMBAT_FLAG_COMBAT_ACTIVE))
|
||||||
. *= STAM_COST_NO_COMBAT_MULT
|
. *= STAM_COST_NO_COMBAT_MULT
|
||||||
|
|||||||
Reference in New Issue
Block a user