TarvensCripplingCrescendo.lua 579 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : Spells/Scout/Bard/Dirge/TarvensCripplingCrescendo.lua
  3. Script Author : theFoof
  4. Script Date : 2013.12.08
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DebuffAmt, DmgType, DmgLow, DmgHigh)
  9. -- Interrupts target
  10. -- Decreases Defense of target
  11. -- Inflicts disease damage on target
  12. Interrupt(Target)
  13. AddSkillBonus(Target, GetSkillIDByName("Defense"), DebuffAmt)
  14. SpellDamage(Target, DmgType, DmgLow, DmgHigh)
  15. end
  16. function remove(Caster, Target)
  17. RemoveSkillBonus(Target)
  18. end