Adrenaline.lua 849 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/Berserker/Adrenaline.lua
  3. Script Author : John Adams
  4. Script Date : 2013.08.11 02:08:15
  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 Lost Adrenaline on termination. Lasts for 30.0 seconds.
  13. -- Drains power instantly and every 3 seconds.
  14. -- Cannot be modified except by direct means
  15. -- 50% of all damage received by the caster is instantly regenerated.
  16. -- Adrenaline can only be used while berserk!
  17. end
  18. function tick(Caster, Target)
  19. -- code to process each call_frequency (tick) set in spell_tiers
  20. end
  21. function remove(Caster, Target)
  22. -- code to remove the spell
  23. end