ElegyatDeathsDoor.lua 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --[[
  2. Script Name : Spells/Scout/Bard/Dirge/ElegyatDeathsDoor.lua
  3. Script Author : John Adams
  4. Script Date : 2013.08.11 09:08:04
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target)
  9. -- code to cast the spell
  10. Say(Caster, "Whoops! Guess this is not implemented yet!")
  11. -- Info from spell_display_effects (remove from script when done)
  12. -- Applies Revived Sickness on termination. Lasts for 2 minutes.
  13. -- Decreases Toughness of target by 123.0
  14. -- Decreases Lethality of target by 123.0
  15. -- Decreases All Attributes of target by 20.0%
  16. -- If not between levels 1 - 6
  17. -- Decreases Attack Speed of target by 20.0
  18. -- If not between levels 1 - 6
  19. -- Decreases Attack Speed of target by 5.0
  20. -- If between levels 1 - 6
  21. -- Decreases All Attributes of target by 5.0%
  22. -- If between levels 1 - 6
  23. -- Applies Elegy on termination.
  24. -- Heals target for 27.6% of max health
  25. -- Resurrects target with 10% health and power
  26. -- If outside an arena
  27. end
  28. function tick(Caster, Target)
  29. -- code to process each call_frequency (tick) set in spell_tiers
  30. end
  31. function remove(Caster, Target)
  32. -- code to remove the spell
  33. end