Fixed some issue with Karma reduction tempfix.

This commit is contained in:
MobiusDev
2017-04-28 21:33:52 +00:00
parent b8376dd74e
commit 27229752ae
2 changed files with 4 additions and 4 deletions

View File

@@ -5075,8 +5075,8 @@ public final class L2PcInstance extends L2Playable
// FIXME: Karma reduction tempfix.
if (getReputation() < 0)
{
final int newRep = getReputation() + (getReputation() / 4);
setReputation(newRep > 0 ? 0 : newRep);
final int newRep = getReputation() - (getReputation() / 4);
setReputation(newRep < -20 ? newRep : 0);
}
return true;