Skip to content

Commit

Permalink
removes our modular stamina multiplier, because it's applied ontop of…
Browse files Browse the repository at this point in the history
… TG's (#25164) (#784)

* Update combat.dm

* these 2

* Update code/modules/mob/living/carbon/human/_species.dm

---------

Co-authored-by: RatFromTheJungle <[email protected]>
Co-authored-by: Bloop <[email protected]>
  • Loading branch information
3 people authored Nov 23, 2023
1 parent b7edf52 commit 905fc1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion code/__DEFINES/~skyrat_defines/combat.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#define PUNCH_STAMINA_MULTIPLIER 2.6

//Stamina threshold from which resisting a grab becomes hard
#define STAMINA_THRESHOLD_HARD_RESIST 80
Expand Down
4 changes: 2 additions & 2 deletions code/modules/mob/living/carbon/human/_species.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1232,10 +1232,10 @@ GLOBAL_LIST_EMPTY(features_by_species)
target.force_say()
log_combat(user, target, grappled ? "grapple punched" : "kicked")
target.apply_damage(damage, attack_type, affecting, armor_block - limb_accuracy, attack_direction = attack_direction)
target.apply_damage(damage * PUNCH_STAMINA_MULTIPLIER, STAMINA, affecting, armor_block - limb_accuracy) // SKYRAT EDIT CHANGE - ORIGINAL : target.apply_damage(damage * 1.5, STAMINA, affecting, armor_block - limb_accuracy)
target.apply_damage(damage*1.5, STAMINA, affecting, armor_block - limb_accuracy)
else // Normal attacks do not gain the benefit of armor penetration.
target.apply_damage(damage, attack_type, affecting, armor_block, attack_direction = attack_direction, sharpness = unarmed_sharpness) //SKYRAT EDIT - Applies sharpness if it does - ORIGINAL: target.apply_damage(damage, attack_type, affecting, armor_block, attack_direction = attack_direction)
target.apply_damage(damage * PUNCH_STAMINA_MULTIPLIER, STAMINA, affecting, armor_block) //SKYRAT EDIT CHANGE: target.apply_damage(damage*1.5, STAMINA, affecting, armor_block)
target.apply_damage(damage*1.5, STAMINA, affecting, armor_block)
if(damage >= 9)
target.force_say()
log_combat(user, target, "punched")
Expand Down

0 comments on commit 905fc1d

Please sign in to comment.