Merge pull request #11149 from VOREStation/Arokha/bows2

Bows do damage
This commit is contained in:
Aronai Sieyes
2021-07-19 17:40:28 -04:00
committed by GitHub
2 changed files with 27 additions and 10 deletions
@@ -472,7 +472,7 @@ emp_act
mass = I.w_class/THROWNOBJ_KNOCKBACK_DIVISOR
var/momentum = speed*mass
if(O.throw_source && momentum >= THROWNOBJ_KNOCKBACK_SPEED)
if(O.throw_source && momentum >= THROWNOBJ_KNOCKBACK_SPEED && !buckled)
var/dir = get_dir(O.throw_source, src)
visible_message("<font color='red'>[src] staggers under the impact!</font>","<font color='red'>You stagger under the impact!</font>")