Fix Receiving Zero Exp When Below Level Cap (#4305)
* fix logic for calculating exp from level cap when below cap * Update src/level_caps.c Co-authored-by: LOuroboros <lunosouroboros@gmail.com> --------- Co-authored-by: LOuroboros <lunosouroboros@gmail.com>
This commit is contained in:
parent
9b2feafdf2
commit
68fa212738
1 changed files with 6 additions and 0 deletions
|
@ -65,7 +65,13 @@ u32 GetSoftLevelCapExpValue(u32 level, u32 expValue)
|
|||
else
|
||||
return expValue / sExpScalingDown[levelDifference];
|
||||
}
|
||||
else if (level < currentLevelCap)
|
||||
{
|
||||
return expValue;
|
||||
}
|
||||
else
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue