SpiritTotemoftheWolf.lua 536 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Commoner/SpiritTotemoftheWolf.lua
  3. Script Author : neatz09
  4. Script Date : 2020.04.04 05:04:08
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Increases Speed of caster by 24.0%
  9. function cast(Caster, Target, OutSpd, InSpd)
  10. if (GetLevel(Caster) >= 15)
  11. then
  12. SetIllusion(Caster, 216)
  13. AddSpellBonus(Caster, 609, OutSpd)
  14. AddSpellBonus(Caster, 616, InSpd)
  15. end
  16. end
  17. function remove(Caster, Target)
  18. RemoveSpellBonus(Caster)
  19. SetIllusion(Caster, 0)
  20. end