GenericCosmeticPet.lua 390 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : Spells/Commoner/GenericCosmeticPet.lua
  3. Script Author : neatz09
  4. Script Date : 2020.09.06 05:09:16
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, PetID)
  9. SummonCosmeticPet(Caster, PetID)
  10. end
  11. function remove(Caster, Target)
  12. pet = GetCosmeticPet(Caster)
  13. if pet ~= nil then
  14. DismissPet(pet)
  15. end
  16. end