9
3

Petrify.lua 653 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : Spells/Mage/Summoner/Petrify.lua
  3. Script Author : neatz09
  4. Script Date : 2019.11.07 08:11:56
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Stuns target
  9. -- Does not affect Epic targets
  10. -- Resistibility increases against targets higher than level 29.
  11. function precast(Caster, Target)
  12. -- Does not affect Epic targets
  13. if IsEpic(Target) then
  14. return false, 43
  15. end
  16. return true
  17. end
  18. function cast(Caster, Target)
  19. AddControlEffect(Target, 4)
  20. Say(Caster, "Resistability not implemented")
  21. end
  22. function remove(Caster, Target)
  23. RemoveControlEffect(Target, 4)
  24. end