DeathclawFetidspineProwler.lua 982 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. --[[
  2. Script Name : Spells/Commoner/DeathclawFetidspineProwler.lua
  3. Script Author : Skywalker646
  4. Script Date : 2020.04.02 08:04:21
  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, Potency, Health, Pwr, Speed)
  15. -- Summons a mount
  16. SetMount(Caster, 14422)
  17. Say(Caster, "Might not be accurate model")
  18. -- Increases Potency of caster by 3.0%
  19. AddSpellBonus(Caster, 659, Potency)
  20. --Increases Max Health of caster by 300.0
  21. AddSpellBonus(Caster, 606, Health)
  22. --Increases Max Power of caster by 300.0
  23. AddSpellBonus(Caster, 619, Pwr)
  24. --Increases your Ground Speed by 130%
  25. AddSpellBonus(Caster, 611, Speed)
  26. end
  27. function remove(Caster, Target)
  28. RemoveSpellBonus(Caster)
  29. RemoveSkillBonus(Caster)
  30. SetMount(Caster, 0)
  31. RemoveControlEffect(Caster, 12)
  32. end