VexingVerses.lua 838 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : Spells/Scout/Bard/Troubadour/VexingVerses.lua
  3. Script Author : Zcoretri
  4. Script Date : 17.March.2014
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, PwrLoss, HealthLoss, Speed, Defense, DmgType, MinDmg, MaxDmg)
  9. -- Decreases Ability Casting Speed of target
  10. AddSpellBonus(Target, 664, Speed)
  11. -- Decreases Defense of target
  12. AddSkillBonus(Target, 609880714, Defense)
  13. -- Target will lose 8% more power when power is consumed
  14. -- 8% of target's power consumed will also be drained from target's health
  15. -- Inflicts magic damage on target
  16. SpellDamage(Target, DmgType, MinDmg, MaxDmg)
  17. end
  18. function remove(Caster, Target, PwrLoss, HealthLoss, Speed, Defense, DmgType, MinDmg, MaxDmg)
  19. RemoveSpellBonus(Target)
  20. RemoveSkillBonus(Target)
  21. end