TLysMinorFamiliar.lua 496 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : Spells/Commoner/TLysMinorFamiliar.lua
  3. Script Author : neatz09
  4. Script Date : 2020.09.07 08:09:27
  5. Script Purpose :
  6. :
  7. --]]
  8. local PetID = { '170048', '1080536', '2220225' }
  9. -- Summons a pet cat familiar
  10. function cast(Caster, Target)
  11. SummonCosmeticPet(Caster, PetID[ math.random( 1, #PetID - 1 ) ] )
  12. end
  13. function remove(Caster, Target)
  14. pet = GetCosmeticPet(Caster)
  15. if pet ~= nil then
  16. DismissPet(pet)
  17. end
  18. end