Try removing the false on maround() and see if it works the way you're expecting. I can't test here (f-acc ftw) but I believe this is the problem.
Printable View
Try removing the false on maround() and see if it works the way you're expecting. I can't test here (f-acc ftw) but I believe this is the problem.
will check tomorrow because going out now ;P And waiting for Leonardo reply
Regards
@RoxZin xD
It shouldn't work as you said, maround(1, false, "Rat") should return rat amount around 1 sqm on the same floor. And removing this from the function will fuck the script because utito tempo don't have a area of effect like the other spells entries, this is a workaround I did to use that spell.
@Dworak
Try this, if it still doesn't work, you must do a different hotkey to cast utito.
local Spells = {
{Name = "exori gran", Amount = 3, Monsters = {"Spitter","Crawler","Waspoid","Insectoid Worker"}},
{Name = "exori gran", Amount = 2, Monsters = {"Kollos","Spidris"}},
{Name = "exori", Amount = 2, Monsters = {"Spitter","Crawler","Waspoid","Insectoid Worker"}},
{Name = "exori", Amount = 1, Monsters = {"Kollos","Spidris"}},
{Name = "exori min", Amount = 2, Monsters = {"Kollos", "Spidris","Spitter","Crawler","Waspoid","Insectoid Worker"}},
{Name = "exori ico", Hppc = 5},
{Name = "exori hur", Hppc = 5},
{Name = "utito tempo", Amount = 2, Monsters = {"Kollos", "Spidris"}},
{Name = "utito tempo", Amount = 5, Monsters = {"Kollos", "Spidris","Spitter","Crawler","Waspoid","Insectoid Worker"}},
}
If you change maround(1, false, "Rat") to maround(1, "Rat") it will work the way you want, which is considering a few monsters and not all of them. While making maround(1, false, "rat", "cave rat") that means maround(1, unpack(all monsters that exist on Tibia)), hope you understand what I mean.
Was testing the area spell as a mage at grim reapers, it only cast Waves if i turn around manually.