MaleficFury.lua 676 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : Spells/Commoner/MaleficFury.lua
  3. Script Author : neatz09
  4. Script Date : 2020.05.29 07:05:32
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- On a hostile spell cast this spell will cast Malefic Fury on target of spell.
  10. -- Inflicts 229 mental damage on target
  11. -- Increases Threat to target by 1,660
  12. -- Cannot be modified except by direct means
  13. function cast(Caster, Target)
  14. AddProc(Caster, 5, 100)
  15. end
  16. function proc(Caster, Target, DmgType, Dmg, Hate)
  17. SpellDamage(Target, DmgType, Dmg, nil, 2, 1)
  18. AddHate(Caster, Target, Hate, 1)
  19. end