Quote:
Originally Posted by FidoW
Look at line 211, there are a mistake with ( and )
Code:
if ((myself->GetPathfindFailCount() > 10 && speller == myself.top_desire_target)
|
fixed
Code:
}
if ((myself->GetPathfindFailCount() > 10) && (speller == myself.top_desire_target) && (myself->FloatToInt(myself.sm.hp) != myself->FloatToInt(myself.sm.max_hp)))
{
myself->InstantTeleport(myself.sm, myself->FloatToInt(speller.x), myself->FloatToInt(speller.y), myself->FloatToInt(speller.z));
}
}