@LabelIndex 66847
@StringIndex 0
class 0 ai_teleport_cube_sailren : instant_teleporter {
handler:
	EventHandler CREATED() {
		myself::AddTimerEx(2002,( ( 10 * 60 ) * 1000 ));
	}

	EventHandler TIMER_FIRED_EX(timer_id) {
		if( timer_id == 2002 ) {
			if( gg::Rand(100) < 50 ) {
				myself::InstantTeleportInMyTerritory(23575,-7727,-1272,100);
			} else {
				myself::InstantTeleportInMyTerritory(23421,-8167,-1326,100);
			}
			myself::Despawn();
		}
	}

	EventHandler TELEPORT_REQUESTED(talker) {
		if( gg::Rand(100) < 40 ) {
			myself::InstantTeleport(talker,10610,-24035,-3676);
		} else if( gg::Rand(100) < 70 ) {
			myself::InstantTeleport(talker,10703,-24041,-3673);
		} else {
			myself::InstantTeleport(talker,10769,-24107,-3672);
		}
	}

}
