9
3

LanetsExcruciatingScream.lua 657 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Scout/Bard/Dirge/LanetsExcruciatingScream.lua
  3. Script Author : theFoof
  4. Script Date : 2013.12.08
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DmgType, DmgLow, DmgHigh)
  9. -- Dazes target
  10. -- If Target is not Epic
  11. -- Inflicts disease damage on target
  12. -- Resistibility increases against targets higher than level 29. (need to add code for this eventually)
  13. if not IsEpic(Target) then
  14. AddControlEffect(Target, 3)
  15. end
  16. end
  17. function remove(Caster, Target, DmgType, DmgLow, DmgHigh)
  18. RemoveControlEffect(Target, 3)
  19. SpellDamage(Target, DmgType, DmgLow, DmgHigh)
  20. end