mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-28 20:07:56 +00:00
[Quest API] Add Spell GetActX methods to Perl/Lua (#3056)
# Perl - Add `$mob->GetActDoTDamage(spell_id, value, target)`. - Add `$mob->GetActDoTDamage(spell_id, value, target, from_buff_tic)`. - Add `$mob->GetActReflectedSpellDamage(spell_id, value, effectiveness)`. - Add `$mob->GetActSpellDamage(spell_id, value, target)`. - Add `$mob->GetActSpellHealing(spell_id, value, target)`. - Add `$mob->GetActSpellHealing(spell_id, value, target, from_buff_tic)`. # Lua - Add `mob:GetActDoTDamage(spell_id, value, target)`. - Add `mob:GetActDoTDamage(spell_id, value, target, from_buff_tic)`. - Add `mob:GetActReflectedSpellDamage(spell_id, value, effectiveness)`. - Add `mob:GetActSpellCasttime(spell_id, cast_time)`. - Add `mob:GetActSpellCost(spell_id, cost)`. - Add `mob:GetActSpellDamage(spell_id, value)`. - Add `mob:GetActSpellDamage(spell_id, value, target)`. - Add `mob:GetActSpellDuration(spell_id, duration)`. - Add `mob:GetActSpellHealing(spell_id, value)`. - Add `mob:GetActSpellHealing(spell_id, value, target)`. - Add `mob:GetActSpellHealing(spell_id, value, target, from_buff_tic)`. - Add `mob:GetActSpellRange(spell_id, range)`. # Notes - Allows operators to get various spell related values.
This commit is contained in:
@@ -516,6 +516,18 @@ public:
|
||||
bool IsFindable();
|
||||
bool IsTrackable();
|
||||
float GetDefaultRaceSize();
|
||||
int64 GetActDoTDamage(uint16 spell_id, int64 value, Lua_Mob target);
|
||||
int64 GetActDoTDamage(uint16 spell_id, int64 value, Lua_Mob target, bool from_buff_tic);
|
||||
int64 GetActReflectedSpellDamage(uint16 spell_id, int64 value, int effectiveness);
|
||||
int GetActSpellCasttime(uint16 spell_id, uint32 cast_time);
|
||||
int GetActSpellCost(uint16 spell_id, int cost);
|
||||
int64 GetActSpellDamage(uint16 spell_id, int64 value);
|
||||
int64 GetActSpellDamage(uint16 spell_id, int64 value, Lua_Mob target);
|
||||
int GetActSpellDuration(uint16 spell_id, int duration);
|
||||
int64 GetActSpellHealing(uint16 spell_id, int64 value);
|
||||
int64 GetActSpellHealing(uint16 spell_id, int64 value, Lua_Mob target);
|
||||
int64 GetActSpellHealing(uint16 spell_id, int64 value, Lua_Mob target, bool from_buff_tic);
|
||||
float GetActSpellRange(uint16 spell_id, float range);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user