Senescence.lua 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : Spells/Priest/Shaman/Defiler/Senescence.lua
  3. Script Author : John Adams
  4. Script Date : 2013.08.11 07:08:56
  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 98.0
  14. -- Decreases Lethality of target by 98.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. -- Resurrects target with 15% health and power
  24. -- Applies Reanimate on termination. Lasts for 1 minute.
  25. -- Heals target for 30.0% of max health
  26. -- This effect cannot be critically applied.
  27. -- Increases power of target by 2.0% instantly and every 4 seconds
  28. -- This effect cannot be critically applied.
  29. -- If outside an arena
  30. end
  31. function tick(Caster, Target)
  32. -- code to process each call_frequency (tick) set in spell_tiers
  33. end
  34. function remove(Caster, Target)
  35. -- code to remove the spell
  36. end