9
3

CrimsonHandsDiscofVoyage.lua 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --[[
  2. Script Name : Spells/Commoner/CrimsonHandsDiscofVoyage.lua
  3. Script Author : Skywalker646
  4. Script Date : 2019.12.23 08:12:43
  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, MP, Speed, Reuse, Crit)
  15. -- Summons a mount to ride
  16. SetMount(Caster, 10983)
  17. -- Reduces maximum falling speed of caster.
  18. AddControlEffect(Caster, 13)
  19. -- Increases Max Health of caster by 200.
  20. AddSpellBonus(Caster, 606, HP)
  21. -- Increases Max Power by 200.0
  22. AddSpellBonus(Caster, 619, MP)
  23. -- increases your ground speed by 130%
  24. AddSpellBonus(Caster, 611, Speed)
  25. -- Increases Ability Reuse Speed by 1.0
  26. AddSpellBonus(Caster, 662, Reuse)
  27. -- Increases Ability Casting Speed by 2.0%
  28. AddSpellBonus(Caster, 654, Crit)
  29. end
  30. function remove(Caster, Target)
  31. SetMount(Caster, 0)
  32. RemoveControlEffect(Caster, 13)
  33. RemoveSpellBonus(Caster)
  34. end