codice:
finditem %usefullmobs G_ , %situationsearchdistance
if #findkind <> -1
{
if #findrep notin 1_2_7
{
set %victim #findid
set %mdist #finddist
}
else
set %mdist 50
if #findcnt > 1
{
for #findindex 2 #findcnt
{
if #finddist < %mdist && #findrep notin 1_2_7
{
set %mdist #finddist
set %victim #findid
}
}
}
}

.

Lascia un commento: