mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-29 12:47:54 +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:
@@ -457,6 +457,8 @@ public:
|
||||
luabind::object GetAugmentIDsBySlotID(lua_State* L, int16 slot_id);
|
||||
bool IsEXPEnabled();
|
||||
void SetEXPEnabled(bool is_exp_enabled);
|
||||
uint64 CalcEXP(uint8 consider_level);
|
||||
uint64 CalcEXP(uint8 consider_level, bool ignore_modifiers);
|
||||
|
||||
void ApplySpell(int spell_id);
|
||||
void ApplySpell(int spell_id, int duration);
|
||||
|
||||
Reference in New Issue
Block a user