Files
wow_Meta/api/PetCanBeDismissed.lua
2024-12-16 13:13:08 +01:00

5 lines
480 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@return 1nil canDismiss
---Returns whether a Dismiss Pet command should be available for the player's pet. Returns 1 for hunter pets even though they use the Dismiss Pet (cast) spell instead of a Dismiss Pet (instant) command; the value of PetCanBeAbandoned() overrides this in causing the default UI to hide the command. Currently unused, but may be used in the future for other pets.
function PetCanBeDismissed() end