9
3

Puppetmaster.lua 365 B

1234567891011121314
  1. function cast(Caster, Target, PetID)
  2. local x = GetX(Caster)
  3. local y = GetY(Caster)
  4. local z = GetZ(Caster)
  5. local count = 0;
  6. while (count < 4) do
  7. local pet = SummonDumbFirePet(Caster, Target, PetID, x, y, z)
  8. if pet ~= nil then
  9. CopySpawnAppearance(pet, Target)
  10. SpawnSet(pet, "size", "6")
  11. end
  12. count = count + 1
  13. end
  14. end