9
3

SpiritoftheCockatrice.lua 476 B

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