mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-28 21:52:17 +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 parent
d9f437d90f
commit
143c4fe6aa
5 files changed
+82
-77
No files matched your search
@@ -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