Implements projectile point blank damage multipliers for targets being grabbed.

This commit is contained in:
mwerezak
2015-03-14 00:41:55 -04:00
parent 6a5dd6c89e
commit 812ff9869d
2 changed files with 17 additions and 4 deletions

View File

@@ -530,7 +530,7 @@
del(G)
if(GRAB_NECK)
//If the you move when grabbing someone then it's easier for them to break free. Same if the affected mob is immune to stun.
if (((world.time - G.assailant.l_move_time < 20 || !L.stunned) && prob(15)) || prob(3))
if (((world.time - G.assailant.l_move_time < 30 || !L.stunned) && prob(15)) || prob(3))
L.visible_message("<span class='warning'>[L] has broken free of [G.assailant]'s headlock!</span>")
del(G)
if(resisting)