[Feature] Add LuaMod functions for CommonDamage and HealDamage (#4227)

* Add LuaMod functions for CommonDamage and HealDamage

* Remove extra bracket
This commit is contained in:
Xackery
2024-03-31 08:30:16 -07:00
committed by GitHub
parent 9e3bf91374
commit b638795f9b
5 changed files with 163 additions and 0 deletions
+2
View File
@@ -199,6 +199,8 @@ public:
uint64 GetExperienceForKill(Client *self, Mob *against, bool &ignoreDefault);
int64 CalcSpellEffectValue_formula(Mob *self, uint32 formula, int64 base_value, int64 max_value, int caster_level, uint16 spell_id, int ticsremaining, bool &ignoreDefault);
void RegisterBug(Client *self, BaseBugReportsRepository::BugReports bug, bool &ignore_default);
int64 CommonDamage(Mob *self, Mob* attacker, int64 value, uint16 spell_id, int skill_used, bool avoidable, int8 buff_slot, bool buff_tic, int special, bool &ignore_default);
uint64 HealDamage(Mob *self, Mob* caster, uint64 value, uint16 spell_id, bool &ignore_default);
private:
LuaParser();