mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 18:46:37 +00:00
[Quest API] Add option to Ignore Mods to CalcEXP (#2704)
# Perl - Add `$client->CalcEXP(consider_level, ignore_modifiers)`. # Lua - Add `client:CalcEXP(consider_level)`. - Add `client:CalcEXP(consider_level, ignore_modifiers)`. # Notes - Allows operators to calculate experience based on consider level as well as ignore modifiers to get a baseline of experience that should be expected when killing a mob.
This commit is contained in:
+1
-1
@@ -627,7 +627,7 @@ public:
|
||||
|
||||
uint64 GetExperienceForKill(Mob *against);
|
||||
void AddEXP(uint64 in_add_exp, uint8 conlevel = 0xFF, bool resexp = false);
|
||||
uint64 CalcEXP(uint8 conlevel = 0xFF);
|
||||
uint64 CalcEXP(uint8 conlevel = 0xFF, bool ignore_mods = false);
|
||||
void CalculateNormalizedAAExp(uint64 &add_aaxp, uint8 conlevel, bool resexp);
|
||||
void CalculateStandardAAExp(uint64 &add_aaxp, uint8 conlevel, bool resexp);
|
||||
void CalculateLeadershipExp(uint64 &add_exp, uint8 conlevel);
|
||||
|
||||
Reference in New Issue
Block a user