Files
wow_Meta/api/PetCanBeDismissed.lua
2025-05-04 15:15:00 +02:00

7 lines
489 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@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