401 B
401 B
Function: GetMount(spawn)
Description: Gets the spawn object that represents the mount for the Spawn provided.
Parameters:
spawn
(Spawn) - Spawn object representingspawn
.
Returns: Mount Spawn object of the Spawn specified.
Example:
-- From Spells/Commoner/AbyssalCarpet.lua
function precast(Caster)
if GetMount(Caster) > 0 then
return false
end