mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 23:01:30 +00:00
Apply HotZone for AAs
Ahh is this the right spot? No idea :P
This commit is contained in:
parent
9cfe6b936b
commit
477ba3f4b9
@ -327,8 +327,7 @@ void Client::AddEXP(uint32 in_add_exp, uint8 conlevel, bool resexp) {
|
|||||||
aatotalmod *= zone->newzone_data.zone_exp_multiplier;
|
aatotalmod *= zone->newzone_data.zone_exp_multiplier;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Shouldn't race not affect AA XP?
|
||||||
|
|
||||||
if(RuleB(Character,UseRaceClassExpBonuses))
|
if(RuleB(Character,UseRaceClassExpBonuses))
|
||||||
{
|
{
|
||||||
if(GetBaseRace() == HALFLING){
|
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(RuleB(Zone, LevelBasedEXPMods)){
|
||||||
if(zone->level_exp_mod[GetLevel()].ExpMod){
|
if(zone->level_exp_mod[GetLevel()].ExpMod){
|
||||||
add_exp *= zone->level_exp_mod[GetLevel()].ExpMod;
|
add_exp *= zone->level_exp_mod[GetLevel()].ExpMod;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user