All pastes #396415 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-03-15 18:58 UTC
rendered paste body
				Pullmobs:Search[-units,-alive,-hostile,-lineofsight,-range 0-15,-origin,${Unit[${AttackGUID}].Location}]
				echo "${Pullmobs.Count} pullmobs count"
				if ${Pullmobs.Count}>2
				{
					do
					{
						echo "blacklisting some pullmobs"
						PullmobsIndex:Inc
						GUIDBlacklist:Set[${Pullmobs[${PullmobsIndex}]},AVOID]
						TargetGUID:Set[NOTARGET]
						AttackGUID:Set[NOTARGET]
						call FindTarget
					}
					while ${PullmobsIndex}<=${Pullmobs.Count}
					;PullmobsIndex:Set[1]
					TargetGUID:Set[NOTARGET]
					AttackGUID:Set[NOTARGET]
					Return
					echo "${Return} return"
					call FindTarget
				}