Add meta
This commit is contained in:
5
Meta/api/PetCanBeDismissed.lua
Normal file
5
Meta/api/PetCanBeDismissed.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
---@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
|
||||
Reference in New Issue
Block a user