Added cfg option to change daily xp handout limit

This commit is contained in:
seefo
2018-05-19 10:05:54 -04:00
parent 836237a23b
commit 34d5919daa
2 changed files with 11 additions and 3 deletions
@@ -1879,7 +1879,7 @@ public class xp extends script.base_script
{
grantCombatStyleXp(player, COMBAT_GENERAL, xpToGrantForRealsies);
displayXpFlyText(player, player, xpToGrantForRealsies);
int huySaidToUseTTForTheSecondNumber = ((missions.DAILY_MISSION_XP_REWARD - missions.getPlayerDailyCount(player)) - 1);
int huySaidToUseTTForTheSecondNumber = ((missions.getDailyMissionXpLimit() - missions.getPlayerDailyCount(player)) - 1);
prose_package pp = new prose_package();
prose.setStringId(pp, missions.DAILY_REWARD_XP);
prose.setDI(pp, xpToGrantForRealsies);