9
3

LavabornWarg.lua 1022 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. --[[
  2. Script Name : Spells/Commoner/LavabornWarg.lua
  3. Script Author : Skywalker646
  4. Script Date : 2020.04.23 06:04:49
  5. Script Purpose :
  6. :
  7. --]]
  8. --]]
  9. function precast(Caster)
  10. if GetMount(Caster) > 0 then
  11. return false
  12. end
  13. return true
  14. end
  15. function cast(Caster, Target, PReg, HReg, Health, Crit, Speed)
  16. -- Summons a mount
  17. SetMount(Caster, 10170)
  18. -- Increase Out-of-Combat Power Regeneration Per Tick of caster by 15
  19. AddSpellBonus(Caster, 603, PReg)
  20. -- Increase Out-of-Combat Health Regeneration Per Tick of caster by 15
  21. AddSpellBonus(Caster, 602, HReg)
  22. -- Increase health of caster by 150
  23. AddSpellBonus(Caster, 606, Health)
  24. -- Increase critbonus of caster by 1
  25. AddSpellBonus(Caster, 657, Crit)
  26. --Increases your Ground Speed by 130%
  27. AddSpellBonus(Caster, 611, Speed)
  28. end
  29. function remove(Caster, Target)
  30. RemoveSpellBonus(Caster)
  31. RemoveSkillBonus(Caster)
  32. SetMount(Caster, 0)
  33. end