Tweaks disarms and disarm pushes (#7624)

The chance for a successful left-click disarm has increased to 45% on targets you're pulling
Disarm pushing has been slightly reworked.
The random chance for disarm push rolls is now determined by how much staminaloss the target has.
Pushing someone who is out of combat mode while you're in combat mode is a guaranteed knockdown.
Pushing now deals light stamina loss to the target so long as both you and your target are standing, not enough to robust someone without tiring yourself out in the process, but enough for a tide to get someone knocked down.
Disarm push attempts are now logged
This commit is contained in:
deathride58
2018-10-18 12:40:08 -04:00
committed by kevinz000
parent c544b04e02
commit 1f381eec66
2 changed files with 11 additions and 11 deletions

View File

@@ -1432,9 +1432,11 @@ GLOBAL_LIST_EMPTY(roundstart_races)
if(!target.combatmode) // CITADEL CHANGE
randn += -10 //CITADEL CHANGE - being out of combat mode makes it easier for you to get disarmed
if(user.resting) //CITADEL CHANGE
randn += 60 //CITADEL CHANGE - No kosher disarming if you're resting
randn += 100 //CITADEL CHANGE - No kosher disarming if you're resting
if(!user.combatmode) //CITADEL CHANGE
randn += 25 //CITADEL CHANGE - Makes it harder to disarm outside of combat mode
if(user.pulling == target)
randn += -20 //If you have the time to get someone in a grab, you should have a greater chance at snatching the thing in their hand. Will be made completely obsolete by the grab rework but i've got a poor track record for releasing big projects on time so w/e i guess
if(randn <= 35)//CIT CHANGE - changes this back to a 35% chance to accomodate for the above being commented out in favor of right-click pushing
var/obj/item/I = null