SpiritoftheGoblin.lua 473 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Commoner/SpiritoftheGoblin.lua
  3. Script Author : neatz09
  4. Script Date : 2020.04.04 01:04:57
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, Pwr)
  9. if (GetLevel(Caster) >= 70)
  10. then
  11. AddSpellBonus(Caster, 603, Pwr)
  12. SetIllusion(Caster, 7311)
  13. else
  14. SetIllusion(Caster, 0)
  15. end
  16. end
  17. function remove(Caster, Target)
  18. RemoveSpellBonus(Caster)
  19. SetIllusion(Caster, 0)
  20. end