9
3

GlacialSavage.lua 779 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : Spells/Commoner/GlacialSavage.lua
  3. Script Author : Skywalker646
  4. Script Date : 2020.04.15 08:04:37
  5. Script Purpose :
  6. :
  7. --]]
  8. function precast(Caster)
  9. if GetMount(Caster) > 0 then
  10. return false
  11. end
  12. return true
  13. end
  14. function cast(Caster, Target, HP, Pwr, Speed)
  15. -- Summons a mount
  16. SetMount(Caster, 10169)
  17. -- Increases Max Health of caster by 300.0
  18. AddSpellBonus(Caster, 606, HP)
  19. --Increases Max Power of caster by 300.0
  20. AddSpellBonus(Caster, 619, Pwr)
  21. --Increases your Ground Speed by 130%
  22. AddSpellBonus(Caster, 611, Speed)
  23. end
  24. function remove(Caster, Target)
  25. RemoveSpellBonus(Caster)
  26. RemoveSkillBonus(Caster)
  27. SetMount(Caster, 0)
  28. end