MortalityMark.lua 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. --[[
  2. Script Name : Spells/Mage/Summoner/Necromancer/MortalityMark.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.15 06:10:23
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Increases all damage done to target by 0.9%
  10. -- Decreases WIS of target by 47.3
  11. -- Increases WIS and STA of caster by 47.3
  12. -- Increases Mitigation of caster vs elemental, noxious and arcane damage by 362
  13. -- Only affects targets level 17 and above
  14. function cast(Caster, Target, Dmg, Debuff, Buff, Mit)
  15. Say(Caster, "Only affects targets level 17 and above not implemented yet")
  16. AddSpellBonus(Caster, 704, Dmg)
  17. Say(Caster, "Unsure about 'Increases all damage done to target by 0.9% stat ID'")
  18. AddSpellBonus(Target, 3, Debuff)
  19. AddSpellBonus(Caster, 1, Buff)
  20. AddSpellBonus(Caster, 3, Buff)
  21. AddSpellBonus(Caster, 201, Mit)
  22. AddSpellBonus(Caster, 202, Mit)
  23. AddSpellBonus(Caster, 203, Mit)
  24. end
  25. function remove(Caster, Target)
  26. RemoveSpellBonus(Target)
  27. RemoveSpellBonus(Caster)
  28. end