mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 04:37:16 +00:00
[Quest API] Add ApplySpellRaid() and SetSpellDurationRaid() to Bots in Perl/Lua (#3274)
# Perl - Add `$bot->ApplySpellRaid(spell_id)`. - Add `$bot->ApplySpellRaid(spell_id, duration)`. - Add `$bot->ApplySpellRaid(spell_id, duration, allow_pets)`. - Add `$bot->ApplySpellRaid(spell_id, duration, allow_pets, is_raid_group_only)`. - Add `$bot->SetSpellDuration(spell_id)`. - Add `$bot->SetSpellDuration(spell_id, duration)`. - Add `$bot->SetSpellDuration(spell_id, duration, allow_pets)`. - Add `$bot->SetSpellDuration(spell_id, duration, allow_pets, is_raid_group_only)`. # Lua - Add `bot:ApplySpellRaid(spell_id)`. - Add `bot:ApplySpellRaid(spell_id, duration)`. - Add `bot:ApplySpellRaid(spell_id, duration, allow_pets)`. - Add `bot:ApplySpellRaid(spell_id, duration, allow_pets, is_raid_group_only)`. - Add `bot:SetSpellDuration(spell_id)`. - Add `bot:SetSpellDuration(spell_id, duration)`. - Add `bot:SetSpellDuration(spell_id, duration, allow_pets)`. - Add `bot:SetSpellDuration(spell_id, duration, allow_pets, is_raid_group_only)`. # Notes - These methods weren't added initially as we did not support bots in raid groups until recently.
This commit is contained in:
1 parent
57a15d473f
commit
445f967ed6
2 files changed
+53
No files matched your search
@@ -74,6 +74,11 @@ public:
|
||||
void ApplySpellGroup(int spell_id, int duration);
|
||||
void ApplySpellGroup(int spell_id, int duration, bool allow_pets);
|
||||
|
||||
void ApplySpellRaid(int spell_id);
|
||||
void ApplySpellRaid(int spell_id, int duration);
|
||||
void ApplySpellRaid(int spell_id, int duration, bool allow_pets);
|
||||
void ApplySpellRaid(int spell_id, int duration, bool allow_pets, bool is_raid_group_only);
|
||||
|
||||
void SetSpellDuration(int spell_id);
|
||||
void SetSpellDuration(int spell_id, int duration);
|
||||
void SetSpellDuration(int spell_id, int duration, bool allow_pets);
|
||||
|
||||
Reference in new issue
Block a user