Hello, I'm trying to use doCreatureAddHealth on all creatures in an area, I thought something like this would work, but it didnt ^^
So what's the problem with this?
Lua:
for x = 111, 222 do
for y = 55, 60 do
local monsterArea = {x=x, y=y, z=7, stackpos=253}
local getMonsters = getThingFromPos(monsterArea)
doCreatureAddHealth(getMonsters.uid, 500)
So what's the problem with this?