SoldiersInstinct.lua 655 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : Spells/Commoner/SoldiersInstinct.lua
  3. Script Author : neatz09
  4. Script Date : 2020.04.10 12:04:51
  5. Script Purpose :
  6. :
  7. --]]
  8. -- On a combat hit this spell may cast Hasten on caster. Lasts for 30.0 seconds. Triggers about 6.6 times per minute.
  9. -- Increases Haste of target by x - y based on CLevel
  10. function cast(Caster, Target)
  11. Say(Caster, "need to add hasten to the DB")
  12. AddProc(Target, 3, 25)
  13. end
  14. function proc(Caster, Target, Type)
  15. CastSpell(Caster, 2002, 1)
  16. Say(Caster, "need to add hasten to the DB")
  17. end
  18. function remove(Caster, Target)
  19. RemoveProc(Target)
  20. end