DarksongBlade.lua 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : Spells/Scout/Bard/Dirge/DarksongBlade.lua
  3. Script Author : theFoof
  4. Script Date : 2013.12.08
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DDType1, DmgLow1, DmgHigh1, DDType2, DmgLow2, DmgHigh2, DoTType, DotAmt)
  9. -- Info from spell_display_effects (remove from script when done)
  10. -- Inflicts disease damage on target
  11. -- Inflicts disease damage on target
  12. -- Inflicts disease damage on target instantly and every 6 seconds
  13. -- NOTE: If one of these attacks misses, the rest after miss automaticly
  14. SpellDamage(Target, DDType1, DmgLow1, DmgHigh1)
  15. if LastSpellAttackHit() then
  16. SpellDamage(Target, DDType2, DmgLow2, DmgHigh2)
  17. end
  18. if LastSpellAttackHit() then
  19. SpellDamage(Target, DoTType, DotAmt)
  20. end
  21. end
  22. function tick(Caster, Target, DDType1, DmgLow1, DmgHigh1, DDType2, DmgLow2, DmgHigh2, DoTType, DotAmt)
  23. if LastSpellAttackHit() then
  24. SpellDamage(Target, DoTType, DotAmt)
  25. end
  26. end
  27. function remove(Caster, Target)
  28. end