9
3

WarCry.lua 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/Berserker/WarCry.lua
  3. Script Author : John Adams
  4. Script Date : 2013.08.11 02:08:45
  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. -- When damaged this spell has a 5% chance to cast Berserk on target. Lasts for 10.0 seconds.
  13. -- Increases Damage Per Second of target by 10.2
  14. -- Increases Attack Speed of target by 10.2
  15. -- On any combat or spell hit this spell may cast Berserk on target. Lasts for 10.0 seconds. Triggers about 3.0 times per minute.
  16. -- Increases Damage Per Second of target by 10.2
  17. -- Increases Attack Speed of target by 10.2
  18. -- On a kill this spell has a 50% chance to cast Berserk on target. Lasts for 10.0 seconds.
  19. -- Increases Damage Per Second of target by 10.2
  20. -- Increases Attack Speed of target by 10.2
  21. end
  22. function tick(Caster, Target)
  23. -- code to process each call_frequency (tick) set in spell_tiers
  24. end
  25. function remove(Caster, Target)
  26. -- code to remove the spell
  27. end