9
3

PerfectionoftheMaestro.lua 747 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Scout/Bard/Troubador/PerfectionoftheMaestro.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.12 10:10:14
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Increases INT of group members (AE) by 75.2
  9. -- On a hostile spell cast this spell will cast Precise Note on target of spell.
  10. -- Inflicts 247 - 302 mental damage on target
  11. function cast(Caster, Target, Int, DmgType, MinVal, MaxVal)
  12. AddSpellBonus(Target, 4, Int)
  13. AddProc(Target, 1, 5, 100, nil, 1)
  14. end
  15. function proc(Caster, Target, Type, Int, DmgType, MinVal, MaxVal)
  16. ProcDamage(Caster, Target, "Precise Note", DmgType, MinVal, MaxVal)
  17. end
  18. function remove(Caster, Target)
  19. RemoveSpellBonus(Target)
  20. end