Verdict.lua 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : Spells/Priest/Cleric/Inquisitor/Verdict.lua
  3. Script Author : John Adams
  4. Script Date : 2013.08.11 06:08:14
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target)
  9. -- code to cast the spell
  10. Say(Caster, "Whoops! Guess this is not implemented yet!")
  11. -- Info from spell_display_effects (remove from script when done)
  12. -- Applies Verdict.
  13. -- Reduces target's health to 1.
  14. -- Certain creature strengths only
  15. -- If under 25% Health
  16. -- Applies Verdict.
  17. -- Reduces target's health to 1.
  18. -- If Target is stronger than Standard
  19. -- If under 10% Health
  20. -- Applies Verdict.
  21. -- Reduces target's health to 1.
  22. -- If Target is Epic
  23. -- If under 2% Health
  24. -- Applies Verdict.
  25. -- Reduces target's health to 1.
  26. -- If Target is Weak
  27. -- If under 50% Health
  28. -- Cannot be modified except by direct means
  29. end
  30. function tick(Caster, Target)
  31. -- code to process each call_frequency (tick) set in spell_tiers
  32. end
  33. function remove(Caster, Target)
  34. -- code to remove the spell
  35. end