Skip to content

Commit

Permalink
CQC chokehold
Browse files Browse the repository at this point in the history
  • Loading branch information
Navvok committed Feb 1, 2025
1 parent 63fafa2 commit e47b158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/martial_arts/cqc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"<span class='userdanger'>[A] puts you into a chokehold!</span>")
add_attack_logs(A, D, "Put into a chokehold with martial-art [src]", ATKLOG_ALL)
chokehold_active = TRUE
var/damage_multiplier = 1 + A.getStaminaLoss() / 100 //The chokehold is more effective the more tired the target is.
var/damage_multiplier = 1 + D.getStaminaLoss() / 100 //The chokehold is more effective the more tired the target is.
while(do_mob(A, D, 2 SECONDS) && chokehold_active)
D.apply_damage(10 * damage_multiplier, OXY)
D.LoseBreath(3 SECONDS)
Expand Down

0 comments on commit e47b158

Please sign in to comment.