Skip to content

Commit

Permalink
feat(balance): update max survival skill from foraging (#5579)
Browse files Browse the repository at this point in the history
Update iexamine.cpp
  • Loading branch information
RoyalFox2140 authored Oct 16, 2024
1 parent 8cadc6f commit 07ab5ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iexamine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6416,7 +6416,7 @@ iexamine_function iexamine_function_from_string( const std::string &function_nam
void iexamine::practice_survival_while_foraging( player *p )
{
///\EFFECT_INT Intelligence caps survival skill gains from foraging
const int max_forage_skill = p->int_cur / 3 + 1;
const int max_forage_skill = p->int_cur / 2 + 1;
///\EFFECT_SURVIVAL decreases survival skill gain from foraging (NEGATIVE)
const int max_exp = 2 * ( max_forage_skill - p->get_skill_level( skill_survival ) );
// Award experience for foraging attempt regardless of success
Expand Down

0 comments on commit 07ab5ba

Please sign in to comment.