123456789101112131415161718192021222324252627282930 |
- --[[
- Script Name : Spells/Commoner/ArcaneEnlightenment.lua
- Script Author : neatz09
- Script Date : 2020.03.30 08:03:47
- Script Purpose :
- :
- --]]
- -- Info from spell_display_effects (remove from script when done)
- -- Increases power of caster by 20.0%
- -- When Damage is received this spell has a 50% chance to cast Enlightenment on caster. Lasts for 1 minute 30 seconds.
- -- Increases power of caster by 40.0%
- -- This effect cannot be critically apllied.
- -- Grants 8 triggers of the spell.
- function cast(Caster, Target, Power, Triggers)
- AddSpellBonus(Target, 620, Power)
- AddProc(Caster, 15, 50)
- SetSpellTriggerCount(Triggers, 1)
- end
- function proc(Caster, Target, Type, Power, Triggers)
- CastSpell(Caster, 22, 1)
- RemoveTriggerFromSpell()
- end
- function remove(Caster, Target)
- RemoveSpellBonus(Target)
- RemoveProc(Target)
- end
|