Reputation system rework.

TODO: Add more proper formulas.
This commit is contained in:
MobiusDev
2015-10-15 21:24:00 +00:00
parent bc513a7c24
commit 1fd489f2c0
46 changed files with 177 additions and 222 deletions

View File

@ -76,7 +76,7 @@ public class ConditionPlayerState extends Condition
case CHAOTIC:
if (player != null)
{
return ((player.getKarma() > 0) == _required);
return ((player.getReputation() < 0) == _required);
}
return !_required;
case OLYMPIAD:

View File

@ -51,7 +51,7 @@ public class ConditionTargetAggro extends Condition
}
if (effected instanceof L2PcInstance)
{
return ((L2PcInstance) effected).getKarma() > 0;
return ((L2PcInstance) effected).getReputation() < 0;
}
return false;
}