9
3

TellurianRecruitV2.lua 537 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : Spells/Summoner/TellurianRecruitV2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.11.22 01:11:59
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, PetID, SpellList, SpawnScript)
  9. -- Summons a pet
  10. SummonPet(Caster, PetID)
  11. Pet=GetPet(Caster)
  12. SetSpellList(Pet, SpellList)
  13. SpawnSet(Pet, "spawn_script", SpawnScript)
  14. end
  15. function remove(Caster, Target)
  16. pet = GetPet(Caster)
  17. if pet ~= nil then
  18. DismissPet(pet)
  19. end
  20. end