9
3

Pets.lua 395 B

12345678910111213141516171819
  1. --[[
  2. Script Name : Spells/Commoner/Pets.lua
  3. Script Author : John Adams
  4. Script Date : 2013.11.20 06:11:19
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, PetID, MaxLevel)
  9. -- Summons a pet
  10. SummonPet(Caster, PetID, MaxLevel)
  11. end
  12. function remove(Caster, Target)
  13. pet = GetPet(Caster)
  14. if pet ~= nil then
  15. DismissPet(pet)
  16. end
  17. end