123456789101112131415161718192021222324252627282930 |
- --[[
- Script Name : Spells/Commoner/MaleficFury.lua
- Script Author : neatz09
- Script Date : 2020.05.29 07:05:32
- Script Purpose : handles the subspell for item wicked wand of malice.
- :
- --]]
- -- On a hostile spell cast this spell will cast Malefic Fury on target of spell.
- -- Inflicts 229 mental damage on target
- -- Increases Threat to target by 1,660
- -- Cannot be modified except by direct means
- function cast(Caster, Target)
- AddProc(Caster, 5, 100)
- AddSpellBonus(Caster, 664, 10)
- Say(Caster, "spell bonus 664 temporarily")
- end
- function proc(Caster, Target, DmgType, Dmg, Hate)
- if Type == 5 then
- SpellDamage(Target, DmgType, Dmg, nil, 2, 1)
- AddHate(Caster, Target, Hate, 1)
- end
- end
- function remove(Caster, Target)
- RemoveProc(Caster)
- RemoveSpellBonus(Target)
- end
|