SinisterCountenance.lua 844 B

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : Spells/Priest/Shaman/Defiler/SinisterCountenance.lua
  3. Script Author : Jabantiz
  4. Script Date : 2014.03.13 05:03:02
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, Sta, Wis, Resist)
  9. -- Increases STA of caster by 7.7
  10. AddSpellBonus(Target, 1, Sta)
  11. -- Increases WIS of caster by 28.8
  12. AddSpellBonus(Target, 3, Wis)
  13. -- Increases Mitigation of caster vs elemental, noxious and arcane damage by 428
  14. AddSpellBonus(Target, 201, Resist)
  15. AddSpellBonus(Target, 202, Resist)
  16. AddSpellBonus(Target, 203, Resist)
  17. -- Grants See Invisibility to caster
  18. -- Shapechanges caster into a chaos essence
  19. SetIllusion(Target, 3717)
  20. end
  21. function remove(Caster, Target)
  22. RemoveSpellBonus(Target)
  23. ResetIllusion(Target)
  24. end