9
3

BlackSpottedWargwithYellowArmor.lua 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : Spells/Commoner/BlackSpottedWargwithYellowArmor.lua
  3. Script Author : Skywalker646
  4. Script Date : 2019.12.14 08:12:49
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Summons a mount to ride that increases your ground speed by 130%
  9. function cast(Caster, Target, Speed, SkillAmt, Dmg)
  10. -- Summons a mount
  11. SetMount(Caster, 7221)
  12. SetMountColor(Caster, 0, 0, 0, 255, 255, 0)
  13. --Increases your ground speed by 130%
  14. AddSpellBonus(Caster, 611, Speed)
  15. --Increases your Crushing, Disruption, Piercing, Slashing and Ranged by 7.0
  16. AddSkillBonus(Caster, GetSkillIDByName("Crushing"), SkillAmt)
  17. AddSkillBonus(Caster, GetSkillIDByName("Disruption"), SkillAmt)
  18. AddSkillBonus(Caster, GetSkillIDByName("Piercing"), SkillAmt)
  19. AddSkillBonus(Caster, GetSkillIDByName("Slashing"), SkillAmt)
  20. AddSkillBonus(Caster, GetSkillIDByName("Ranged"), SkillAmt)
  21. --Increases damage done by spells and combat arts by upto 50.
  22. AddSpellBonus(Caster, 704, Dmg)
  23. end
  24. function remove(Caster, Target)
  25. SetMount(Caster, 0)
  26. RemoveSpellBonus(Caster)
  27. RemoveSkillBonus(Caster)
  28. end