9
3

AriaofMagic.lua 645 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : Spells/Scout/Bard/Troubador/AriaofMagic.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.12 10:10:41
  5. Script Purpose :
  6. :
  7. --]]
  8. -- On a hostile spell hit this spell has a 30% chance to cast Dissonant Note on target of spell.
  9. -- Inflicts 161 - 269 mental damage on target
  10. function cast(Caster, Target, DmgType, MinVal, MaxVal)
  11. AddProc(Target, 5, 30, nil, 1)
  12. end
  13. function proc(Caster, Target, Type, DmgType, Minval, MaxVal)
  14. ProcDamage(Caster, Target, "Dissonant Note", DmgType, MinVal, MaxVal)
  15. end
  16. function remove(Caster, Target)
  17. RemoveProc(Target)
  18. end