Skip to content

Commit

Permalink
Actually enable pain resistant.
Browse files Browse the repository at this point in the history
  • Loading branch information
Whales committed Nov 18, 2014
1 parent da42c4b commit 090ba26
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions player.cpp
Expand Up @@ -625,8 +625,7 @@ void Player::take_damage_no_armor(Damage_type damtype, int damage,
min_pain /= 2;
max_pain = max_pain * .75;
}
//TODO: use min_pain and max_pain
pain += rng(damage / 2, damage);
pain += rng(min_pain, max_pain);
}

void Player::take_damage_everywhere(Damage_set damage, std::string reason)
Expand Down

0 comments on commit 090ba26

Please sign in to comment.