New Lua Function: GetPet(Spawn)
Posted: Sun Sep 30, 2012 5:26 pm
This will return the pet of the given spawn.
Code: Select all
function cast(Caster, Target, PetID)
SummonPet(Caster, PetID)
pet = GetPet(Caster)
SetSpellList(pet, 1)
end