mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
sports strong (#24511)
This commit is contained in:
@@ -33,6 +33,8 @@ default behaviour is:
|
||||
|
||||
strength += (M_HULK in src.mutations)
|
||||
strength += (M_STRONG in src.mutations)
|
||||
if(reagents)
|
||||
strength += (reagents.get_sportiness() >= 5)
|
||||
|
||||
. = strength
|
||||
|
||||
|
||||
@@ -1763,8 +1763,7 @@ Thanks.
|
||||
if(istype(src,/mob/living/carbon/human))
|
||||
var/mob/living/carbon/human/H=src
|
||||
throw_mult = H.species.throw_mult
|
||||
if((M_HULK in H.mutations) || (M_STRONG in H.mutations))
|
||||
throw_mult+=0.5
|
||||
throw_mult += (H.get_strength()-1)/2 //For each level of strength above 1, add 0.5
|
||||
item.throw_at(target, item.throw_range*throw_mult, item.throw_speed*throw_mult)
|
||||
return THREW_SOMETHING
|
||||
|
||||
|
||||
Reference in New Issue
Block a user