Code: Select all
# If !teleportAuto_search, then searchMonsters >= teleportAuto_search will be true - no need for first condition?
&& (!$config{teleportAuto_search} || $ai_v{temp}{searchMonsters} >= $config{teleportAuto_search})
and the statement seems correct, no need for first condition