BetaGriffon.lua 646 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : Spells/Commoner/BetaGriffon.lua
  3. Script Author : John Adams
  4. Script Date : 2010.03.31 05:03:52
  5. Script Notes :
  6. :
  7. --]]
  8. function cast(Caster, Target, MountID, MountRed, MountGreen, MountBlue, SaddleRed, SaddleGreen, SaddleBlue, MountSpeed)
  9. if MountID ~= nil then
  10. SetMount(Caster, MountID)
  11. if MountRed ~= nil then
  12. SetMountColor(Caster, MountRed, MountGreen, MountBlue, SaddleRed, SaddleGreen, SaddleBlue)
  13. end
  14. if MountSpeed ~= nil then
  15. SetSpeed(Caster, MountSpeed)
  16. end
  17. end -- missing me
  18. end
  19. function remove(Caster, Target)
  20. SetMount(Caster, 0)
  21. SetSpeed(Caster, 0)
  22. end