123456789101112131415161718192021222324252627282930313233343536373839404142 |
- --[[
- Script Name : Spells/Priest/Shaman/Defiler/Senescence.lua
- Script Author : John Adams
- Script Date : 2013.08.11 07:08:56
- Script Purpose :
- :
- --]]
- function cast(Caster, Target)
- -- code to cast the spell
- Say(Caster, "Whoops! Guess this is not implemented yet!")
- -- Info from spell_display_effects (remove from script when done)
- -- Applies Revived Sickness on termination. Lasts for 2 minutes.
- -- Decreases Toughness of target by 98.0
- -- Decreases Lethality of target by 98.0
- -- Decreases All Attributes of target by 20.0%
- -- If not between levels 1 - 6
- -- Decreases Attack Speed of target by 20.0
- -- If not between levels 1 - 6
- -- Decreases Attack Speed of target by 5.0
- -- If between levels 1 - 6
- -- Decreases All Attributes of target by 5.0%
- -- If between levels 1 - 6
- -- Resurrects target with 15% health and power
- -- Applies Reanimate on termination. Lasts for 1 minute.
- -- Heals target for 30.0% of max health
- -- This effect cannot be critically applied.
- -- Increases power of target by 2.0% instantly and every 4 seconds
- -- This effect cannot be critically applied.
- -- If outside an arena
- end
- function tick(Caster, Target)
- -- code to process each call_frequency (tick) set in spell_tiers
- end
- function remove(Caster, Target)
- -- code to remove the spell
- end
|