9
3

InnoruuksCaress.lua 1011 B

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : Spells/Fighter/Crusader/Shadowknight/InnoruuksCaress.lua
  3. Script Author : Jabantiz
  4. Script Date : 2014.01.08 02:01:19
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, BonusAmt, HateAmt, DmgType, DmgAmt)
  9. -- Increases Mitigation of caster vs elemental, noxious and arcane damage by 43
  10. AddSpellBonus(Target, 201, BonusAmt)
  11. AddSpellBonus(Target, 202, BonusAmt)
  12. AddSpellBonus(Target, 203, BonusAmt)
  13. AddProc(Caster, 4, 100)
  14. end
  15. function proc(Caster, Target, Type, BonusAmt, HateAmt, DmgType, DmgAmt)
  16. -- When damaged with a melee weapon this spell will cast Caress Feedback on target's attacker.
  17. -- Increases Threat to target by 4
  18. -- Inflicts 1 disease damage on target
  19. if Type == 4 then
  20. AddHate(Caster, Target, HateAmt)
  21. ProcDamage(Caster, Target, "Caress Feedback", DmgType, DmgAmt)
  22. end
  23. end
  24. function remove(Caster, Target)
  25. RemoveProc(Target)
  26. end