mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-09 22:20:24 +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:
@@ -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