Skip to content

Commit

Permalink
TRAIT_EASILY_WOUNDED and TRAIT_HARDLY_WOUNDED now balance out (#2229
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Absolucy authored Jun 12, 2024
1 parent 5f786a3 commit 2888065
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions code/modules/surgery/bodyparts/wounds.dm
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,15 @@
return

// note that these are fed into an exponent, so these are magnified
// monkestation edit: balance out TRAIT_EASILY_WOUNDED and TRAIT_HARDLY_WOUNDED
if(HAS_TRAIT(owner, TRAIT_EASILY_WOUNDED))
damage *= 1.5
if(!HAS_TRAIT(owner, TRAIT_HARDLY_WOUNDED))
damage *= 1.5
else if(HAS_TRAIT(owner, TRAIT_HARDLY_WOUNDED))
damage *= 0.85
else
damage = min(damage, WOUND_MAX_CONSIDERED_DAMAGE)

if(HAS_TRAIT(owner,TRAIT_HARDLY_WOUNDED))
damage *= 0.85
// monkestation end

if(HAS_TRAIT(owner, TRAIT_EASYDISMEMBER))
damage *= 1.1
Expand Down

0 comments on commit 2888065

Please sign in to comment.