From 477ba3f4b99619cf4b95ba3bdb48ec447bffd68d Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Fri, 15 Dec 2017 01:47:45 -0500 Subject: [PATCH] Apply HotZone for AAs Ahh is this the right spot? No idea :P --- zone/exp.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/zone/exp.cpp b/zone/exp.cpp index 7d9a02fa8..1fd8ea0a3 100644 --- a/zone/exp.cpp +++ b/zone/exp.cpp @@ -327,8 +327,7 @@ void Client::AddEXP(uint32 in_add_exp, uint8 conlevel, bool resexp) { aatotalmod *= zone->newzone_data.zone_exp_multiplier; } - - + // Shouldn't race not affect AA XP? if(RuleB(Character,UseRaceClassExpBonuses)) { if(GetBaseRace() == HALFLING){ @@ -340,6 +339,12 @@ void Client::AddEXP(uint32 in_add_exp, uint8 conlevel, bool resexp) { } } + // why wasn't this here? Where should it be? + if(zone->IsHotzone()) + { + aatotalmod += RuleR(Zone, HotZoneBonus); + } + if(RuleB(Zone, LevelBasedEXPMods)){ if(zone->level_exp_mod[GetLevel()].ExpMod){ add_exp *= zone->level_exp_mod[GetLevel()].ExpMod;