Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- local count = 0
- local creatures = {}
- for i = CREATURES_LOW, CREATURES_HIGH do
- local c = Creature.GetFromIndex(i)
- if c:isAlive() and c:isVisible() and c:isAdjacent() and not c:isPlayer() then
- count = count + 1
- table.insert(creatures, c:Name())
- end
- end
- if count >= 2 then
- if Self.CanCastSpell('exori') then
- Self.Cast('exori', 150)
- print(table.serialize(creatures))
- end
- end
- wait(50)
- end
Advertisement
Add Comment
Please, Sign In to add comment