Files
wow_Meta/api/PetCanBeDismissed.lua
2025-05-04 14:35:26 +02:00

6 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