[Commands] Add #clearxtargets Command (#3833)

# Perl
- Add `$client->ClearXTargets()`.

# Lua
- Add `client:ClearXTargets()`.

# Notes
- Add `#clearxtargets` command for players.
- Allows operators/players to clear their XTargets if something get stuck on it.
This commit is contained in:
Alex King
2024-01-06 23:18:21 -05:00
committed by GitHub
parent 122fe398b4
commit 99d2e3a8b1
10 changed files with 95 additions and 2 deletions
+1
View File
@@ -488,6 +488,7 @@ public:
void RemoveRadiantCrystals(uint32 amount);
void SummonItemIntoInventory(luabind::object item_table);
bool HasItemOnCorpse(uint32 item_id);
void ClearXTargets();
void ApplySpell(int spell_id);
void ApplySpell(int spell_id, int duration);