Skip to content

Commit

Permalink
Int debuff starting at 1 pain no longer applies
Browse files Browse the repository at this point in the history
(cherry picked from commit 58b015d)
  • Loading branch information
CodeBandit authored and tung committed Jun 22, 2020
1 parent 911477e commit ec9c49a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@ stat_mod player::get_pain_penalty() const
}

if( !has_trait( trait_INT_SLIME ) ) {
ret.intelligence = 1 + stat_penalty;
ret.intelligence = stat_penalty;
} else {
ret.intelligence = 1 + pain / 5;
ret.intelligence = pain / 5;
}

ret.perception = stat_penalty * 2 / 3;
Expand Down

0 comments on commit ec9c49a

Please sign in to comment.