DevouringMist.lua 784 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Fighter/Crusader/Shadowknight/DevouringMist.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.12 01:10:53
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Applies Devouring Mist. Lasts for 1 minute 12 seconds.
  10. -- Increases Mitigation of caster vs physical damage by 216
  11. -- Decreases Mitigation of target encounter vs physical damage by 1234
  12. function cast(Caster, Target, CsterAmt, TgtAmt)
  13. Say(Caster, "This Spell is not setup for AoE correctly. mitigation is also increased per target.")
  14. AddSpellBonus(Caster, 200, CstrAmt)
  15. AddSpellBonus(Target, 200, TgtAmt)
  16. end
  17. function remove(Caster, Target)
  18. RemoveSpellBonus(Target)
  19. end