Probably very easy, but I'm not quite sure how to do this.
Trying to create a command to give every mob in the game a buff, such as Protect, Hundred Fists, or Regain. Alongside this, looking to create a command that takes away this buff as well.
I know the loop for lua is:
<for x, y, z do> where x = starting int, y = stop value, z = increment...but how do I make it loop through every zone?
Thanks in advance for any assistance!
-kat
Loop through zones in lua.
Re: Loop through zones in lua.
don't do it in lua, way harder than just making a new lua call to do it for you in c++
additionally, it's not very easy to give "every mob in the game" something, because if there's nobody in the zone there's nothing there
additionally, it's not very easy to give "every mob in the game" something, because if there's nobody in the zone there's nothing there