Stoneskin.lua 688 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : Spells/Mage/Summoner/Conjuror/Stoneskin.lua
  3. Script Author : Neatz09
  4. Script Date : 9.5.2020
  5. Script Purpose :
  6. :
  7. --]]
  8. function precast(Caster)
  9. return not IsInCombat(Caster)
  10. end
  11. function cast(Caster, Target, Hate)
  12. AddWard(0,0,0,0,0,0,0,3)
  13. AddHate(Caster, Target, Hate, 1)
  14. Say(Caster, "Should proc 'Settle' for the hate component")
  15. -- Will absorb all damage. This spell will absorb a total of 3 attacks.
  16. -- Applies Settle.
  17. -- Decreases Threat to targets in Area of Effect by 694
  18. -- Must be engaged in combat
  19. end
  20. function remove(Caster, Target)
  21. RemoveWard()
  22. -- code to remove the spell
  23. end