Skip to content

Commit

Permalink
stance adjust (tweak)
Browse files Browse the repository at this point in the history
standing here i realise...
  • Loading branch information
MrCastmer committed Feb 25, 2024
1 parent 6eb5237 commit 9eb2b5a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modular_dripstation/code/datums/martial/trained.dm
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@
/datum/martial_art/trained/handle_counter(mob/living/carbon/human/user, mob/living/carbon/human/attacker)
if(!can_use(user))
return
if(!(A.mobility_flags & MOBILITY_STAND)) //counter attack stance works only when standing

Check failure on line 76 in modular_dripstation/code/datums/martial/trained.dm

View workflow job for this annotation

GitHub Actions / Lints

undefined var: "A"

Check warning on line 76 in modular_dripstation/code/datums/martial/trained.dm

View workflow job for this annotation

GitHub Actions / Lints

field access requires static type: "mobility_flags"
return
user.adjustStaminaLoss(35) //Can't block forever. Not so effective as real CQC, can do it only a few times before screw up
user.do_attack_animation(attacker, ATTACK_EFFECT_DISARM)
var/obj/item/I = attacker.get_active_held_item()
Expand Down

0 comments on commit 9eb2b5a

Please sign in to comment.