9
3

ShatteredEarth.lua 863 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : Spells/Mage/Summoner/Conjuror/ShatteredEarth.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.13 12:10:17
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DmgType, MinVal, MaxVal)
  9. -- Inflicts 211 - 258 magic damage on target encounter instantly and every second
  10. SpellDamage(Target, DmgType, MinVal, MaxVal)
  11. -- Dazes target encounter
  12. -- If Target is not Epic
  13. -- Resistibility increases against targets higher than level 29.
  14. if not IsEpic(Target) then
  15. AddControlEffect(Target, 3)
  16. end
  17. end
  18. function tick(Caster, Target, Dmgtype, MinVal, MaxVal)
  19. -- Inflicts 211 - 258 magic damage on target encounter instantly and every second
  20. SpellDamage(Target, DmgType, MinVal, MaxVal)
  21. end
  22. function remove(Caster, Target)
  23. RemoveControlEffect(Target, 3)
  24. end