mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 10:26:37 +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:
+1
-1
@@ -326,7 +326,7 @@ public:
|
||||
int32 GetActSpellCost(uint16 spell_id, int32 cost);
|
||||
virtual int32 GetActSpellDuration(uint16 spell_id, int32 duration);
|
||||
int32 GetActSpellCasttime(uint16 spell_id, int32 casttime);
|
||||
virtual int64 GetActReflectedSpellDamage(int32 spell_id, int64 value, int effectiveness);
|
||||
virtual int64 GetActReflectedSpellDamage(uint16 spell_id, int64 value, int effectiveness);
|
||||
float ResistSpell(uint8 resist_type, uint16 spell_id, Mob *caster, bool use_resist_override = false,
|
||||
int resist_override = 0, bool CharismaCheck = false, bool CharmTick = false, bool IsRoot = false,
|
||||
int level_override = -1);
|
||||
|
||||
Reference in New Issue
Block a user