[Rule] Add Task System Rule ExpRewardsIgnoreLevelBasedEXPMods (#3112)

* [Rule] Add Task System Rule ExpRewardsIgnoreLevelBasedEXPMods

* description
This commit is contained in:
Aeadoin
2023-03-17 19:15:02 -04:00
committed by GitHub
parent 0be7ead1d1
commit 0caee9026a
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1111,7 +1111,7 @@ void ClientTaskState::RewardTask(Client *c, const TaskInformation *ti, ClientTas
if (pos_reward > 100 && pos_reward < 25700) {
uint8 max_level = pos_reward / 100;
uint8 exp_percent = pos_reward - (max_level * 100);
c->AddLevelBasedExp(exp_percent, max_level);
c->AddLevelBasedExp(exp_percent, max_level, RuleB(TaskSystem, ExpRewardsIgnoreLevelBasedEXPMods));
}
}