HowloftheDamned.lua 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. --[[
  2. Script Name : Spells/Mage/Summoner/Necromancer/HowloftheDamned.lua
  3. Script Author : Jabantiz
  4. Script Date : 2013.12.07 11:12:43
  5. Script Purpose : Updated 10-19-19 Neatz09
  6. :
  7. --]]
  8. function cast(Caster, Target, atkSpeed, defPenalty, CastSkills, procDmgType, procDmg, procHeal, Focus)
  9. -- Increases Attack Speed of target by 16.5
  10. AddSpellBonus(Target, 617, atkSpeed)
  11. -- Decreases Defense and Parry of target by 4.9
  12. AddSkillBonus(Target, GetSkillIDByName("Defense"), defPenalty)
  13. AddSkillBonus(Target, GetSkillIDByName("Parry"), defPenalty)
  14. -- Increases Subjugation and Disruption of target by 4.5
  15. -- Increases Focus of target by 4.5
  16. AddSkillBonus(Target, GetSkillIDByName("Focus"), Focus)
  17. AddSkillBonus(Target, GetSkillIDByName("Subjugation"), CastSkills)
  18. AddSkillBonus(Target, GetSkillIDByName("Disruption"), CastSkills)
  19. end
  20. function proc(Caster, Target, Type, atkSpeed, defPenalty, focusBonus, procDmgType, procDmg, procHeal, castSkills)
  21. -- On any combat or spell hit this spell may cast Clawing of the Soul on target of attack. Triggers about 2.0 times per minute.
  22. -- Inflicts 49 disease damage on target
  23. ProcDamage(Caster, Target, "Clawing of the Soul", procDmgType, procDmg)
  24. -- Heals caster for 10
  25. SpellHeal("Heal", procHeal)
  26. end
  27. function remove(Caster, Target)
  28. RemoveSpellBonus(Target)
  29. RemoveSkillBonus(Target)
  30. end