游戏王残局简化版

Annotation For single_doc/卡组测试教程.html
Login

Annotation For single_doc/卡组测试教程.html

Origin for each line in single_doc/卡组测试教程.html from check-in e9ba599490:

bc10a7b5c0 2023-07-06  顽雨沉风: <!DOCTYPE html>
bc10a7b5c0 2023-07-06  顽雨沉风: <html xmlns="http://www.w3.org/1999/xhtml" lang xml:lang>
bc10a7b5c0 2023-07-06  顽雨沉风: <head>
bc10a7b5c0 2023-07-06  顽雨沉风:   <meta charset="utf-8" />
bc10a7b5c0 2023-07-06  顽雨沉风:   <meta name="generator" content="pandoc" />
bc10a7b5c0 2023-07-06  顽雨沉风:   <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
bc10a7b5c0 2023-07-06  顽雨沉风:   <title>卡组测试教程</title>
bc10a7b5c0 2023-07-06  顽雨沉风:   <style>
bc10a7b5c0 2023-07-06  顽雨沉风: code{white-space: pre-wrap;}
bc10a7b5c0 2023-07-06  顽雨沉风: span.smallcaps{font-variant: small-caps;}
bc10a7b5c0 2023-07-06  顽雨沉风: div.columns{display: flex; gap: min(4vw, 1.5em);}
bc10a7b5c0 2023-07-06  顽雨沉风: div.column{flex: auto; overflow-x: auto;}
bc10a7b5c0 2023-07-06  顽雨沉风: div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
bc10a7b5c0 2023-07-06  顽雨沉风: 
bc10a7b5c0 2023-07-06  顽雨沉风: ul.task-list[class]{list-style: none;}
bc10a7b5c0 2023-07-06  顽雨沉风: ul.task-list li input[type="checkbox"] {
bc10a7b5c0 2023-07-06  顽雨沉风: font-size: inherit;
bc10a7b5c0 2023-07-06  顽雨沉风: width: 0.8em;
bc10a7b5c0 2023-07-06  顽雨沉风: margin: 0 0.8em 0.2em -1.6em;
bc10a7b5c0 2023-07-06  顽雨沉风: vertical-align: middle;
bc10a7b5c0 2023-07-06  顽雨沉风: }
bc10a7b5c0 2023-07-06  顽雨沉风: .display.math{display: block; text-align: center; margin: 0.5rem auto;}
bc10a7b5c0 2023-07-06  顽雨沉风: </style>
bc10a7b5c0 2023-07-06  顽雨沉风:   <style type="text/css">
bc10a7b5c0 2023-07-06  顽雨沉风: @media screen and (min-aspect-ratio:1/1) {
bc10a7b5c0 2023-07-06  顽雨沉风: html {
bc10a7b5c0 2023-07-06  顽雨沉风: background-color: f8f8f8;
bc10a7b5c0 2023-07-06  顽雨沉风: background-image:
bc10a7b5c0 2023-07-06  顽雨沉风: linear-gradient(
bc10a7b5c0 2023-07-06  顽雨沉风: 45deg,
bc10a7b5c0 2023-07-06  顽雨沉风: #eee 25%,
bc10a7b5c0 2023-07-06  顽雨沉风: transparent 25%,
bc10a7b5c0 2023-07-06  顽雨沉风: transparent 75%,
bc10a7b5c0 2023-07-06  顽雨沉风: #eee 75%),
bc10a7b5c0 2023-07-06  顽雨沉风: linear-gradient(
bc10a7b5c0 2023-07-06  顽雨沉风: 45deg,
bc10a7b5c0 2023-07-06  顽雨沉风: #eee 25%,
bc10a7b5c0 2023-07-06  顽雨沉风: transparent 25%,
bc10a7b5c0 2023-07-06  顽雨沉风: transparent 75%,
bc10a7b5c0 2023-07-06  顽雨沉风: #eee 75%);
bc10a7b5c0 2023-07-06  顽雨沉风: background-size: 8px 8px;
bc10a7b5c0 2023-07-06  顽雨沉风: background-position: 0 0, 16px 8px;
bc10a7b5c0 2023-07-06  顽雨沉风: }
bc10a7b5c0 2023-07-06  顽雨沉风: body {
bc10a7b5c0 2023-07-06  顽雨沉风: border: solid #a0a0a0 1px ;
bc10a7b5c0 2023-07-06  顽雨沉风: border-radius: 20px ;
bc10a7b5c0 2023-07-06  顽雨沉风: padding: 26px ;
bc10a7b5c0 2023-07-06  顽雨沉风: margin: 16px ;
bc10a7b5c0 2023-07-06  顽雨沉风: color: #101010 ;
bc10a7b5c0 2023-07-06  顽雨沉风: background-color: #efefef;
bc10a7b5c0 2023-07-06  顽雨沉风: padding: 2em 18%;
bc10a7b5c0 2023-07-06  顽雨沉风: }
bc10a7b5c0 2023-07-06  顽雨沉风: }
bc10a7b5c0 2023-07-06  顽雨沉风: h1,h2,h3,h4,h5,h6 {
bc10a7b5c0 2023-07-06  顽雨沉风: font-size: 1.5em;
bc10a7b5c0 2023-07-06  顽雨沉风: color: #3F5770;
bc10a7b5c0 2023-07-06  顽雨沉风: border-bottom: 0.1em solid #666666;
bc10a7b5c0 2023-07-06  顽雨沉风: margin: 1.2em 0em;
bc10a7b5c0 2023-07-06  顽雨沉风: }
bc10a7b5c0 2023-07-06  顽雨沉风: a {
4a8edbf38c 2023-07-06  顽雨沉风: list-style: none;
4a8edbf38c 2023-07-06  顽雨沉风: border-right: 0.3em solid #5183C466;
4a8edbf38c 2023-07-06  顽雨沉风: border-left: 0.3em solid #5183C466;
4a8edbf38c 2023-07-06  顽雨沉风: padding: 0.2em 0.4em;
4a8edbf38c 2023-07-06  顽雨沉风: margin-bottom: 0.2em;
4a8edbf38c 2023-07-06  顽雨沉风: margin-top: 0.3em;
bc10a7b5c0 2023-07-06  顽雨沉风: background-color: white;
bc10a7b5c0 2023-07-06  顽雨沉风: text-decoration-color: blue;
bc10a7b5c0 2023-07-06  顽雨沉风: }
bc10a7b5c0 2023-07-06  顽雨沉风: a:visited {
bc10a7b5c0 2023-07-06  顽雨沉风: color: blue;
bc10a7b5c0 2023-07-06  顽雨沉风: text-decoration-color: white;
bc10a7b5c0 2023-07-06  顽雨沉风: }
bc10a7b5c0 2023-07-06  顽雨沉风: nav ul li {
bc10a7b5c0 2023-07-06  顽雨沉风: margin: 1.2em 0em;
bc10a7b5c0 2023-07-06  顽雨沉风: }
bc10a7b5c0 2023-07-06  顽雨沉风: p::before {
bc10a7b5c0 2023-07-06  顽雨沉风: content: "  ";
bc10a7b5c0 2023-07-06  顽雨沉风: }
bc10a7b5c0 2023-07-06  顽雨沉风: p {
bc10a7b5c0 2023-07-06  顽雨沉风: margin: 1.2em 0;
bc10a7b5c0 2023-07-06  顽雨沉风: }
bc10a7b5c0 2023-07-06  顽雨沉风: .title {
bc10a7b5c0 2023-07-06  顽雨沉风: background-color: white;
bc10a7b5c0 2023-07-06  顽雨沉风: font-size: 2em;
bc10a7b5c0 2023-07-06  顽雨沉风: text-align: center;
bc10a7b5c0 2023-07-06  顽雨沉风: }
bc10a7b5c0 2023-07-06  顽雨沉风: b {
bc10a7b5c0 2023-07-06  顽雨沉风: background-color: white;
4a8edbf38c 2023-07-06  顽雨沉风: list-style: none;
4a8edbf38c 2023-07-06  顽雨沉风: border-right: 0.3em solid #5183C466;
4a8edbf38c 2023-07-06  顽雨沉风: border-left: 0.3em solid #5183C466;
4a8edbf38c 2023-07-06  顽雨沉风: padding: 0.2em 0.4em;
4a8edbf38c 2023-07-06  顽雨沉风: margin-bottom: 0.2em;
4a8edbf38c 2023-07-06  顽雨沉风: margin-top: 0.3em;
bc10a7b5c0 2023-07-06  顽雨沉风: }
bc10a7b5c0 2023-07-06  顽雨沉风: details > summary {
bc10a7b5c0 2023-07-06  顽雨沉风: list-style: none;
bc10a7b5c0 2023-07-06  顽雨沉风: border-right: 0.3em solid #5183C466;
bc10a7b5c0 2023-07-06  顽雨沉风: border-left: 0.3em solid #5183C466;
bc10a7b5c0 2023-07-06  顽雨沉风: padding: 0.2em 0.4em;
bc10a7b5c0 2023-07-06  顽雨沉风: margin-bottom: 0.2em;
bc10a7b5c0 2023-07-06  顽雨沉风: margin-top: 0.3em;
bc10a7b5c0 2023-07-06  顽雨沉风: }
bc10a7b5c0 2023-07-06  顽雨沉风: details > summary:active {
bc10a7b5c0 2023-07-06  顽雨沉风: transform:
bc10a7b5c0 2023-07-06  顽雨沉风: rotateX(38deg)
bc10a7b5c0 2023-07-06  顽雨沉风: translateY(7px);
bc10a7b5c0 2023-07-06  顽雨沉风: }
bc10a7b5c0 2023-07-06  顽雨沉风: pre {
bc10a7b5c0 2023-07-06  顽雨沉风: background: #f6f6f6;
bc10a7b5c0 2023-07-06  顽雨沉风: border-left: 0.5em solid #ccc;
bc10a7b5c0 2023-07-06  顽雨沉风: padding: 0.4em;
bc10a7b5c0 2023-07-06  顽雨沉风: border-radius: 0.2em;
bc10a7b5c0 2023-07-06  顽雨沉风: }
bc10a7b5c0 2023-07-06  顽雨沉风: pre:active {
bc10a7b5c0 2023-07-06  顽雨沉风: transform:
bc10a7b5c0 2023-07-06  顽雨沉风: rotateX(38deg)
bc10a7b5c0 2023-07-06  顽雨沉风: translateY(7px);
bc10a7b5c0 2023-07-06  顽雨沉风: }
bc10a7b5c0 2023-07-06  顽雨沉风: code {
bc10a7b5c0 2023-07-06  顽雨沉风: font-family: "Verdana";
bc10a7b5c0 2023-07-06  顽雨沉风: }
bc10a7b5c0 2023-07-06  顽雨沉风: button {
bc10a7b5c0 2023-07-06  顽雨沉风: background: #ffffff;
bc10a7b5c0 2023-07-06  顽雨沉风: color: #20894d;
bc10a7b5c0 2023-07-06  顽雨沉风: }
bc10a7b5c0 2023-07-06  顽雨沉风: button:active {
bc10a7b5c0 2023-07-06  顽雨沉风: transform:
bc10a7b5c0 2023-07-06  顽雨沉风: rotateX(38deg)
bc10a7b5c0 2023-07-06  顽雨沉风: translateY(7px);
bc10a7b5c0 2023-07-06  顽雨沉风: }
bc10a7b5c0 2023-07-06  顽雨沉风: </style>
bc10a7b5c0 2023-07-06  顽雨沉风:   <!--[if lt IE 9]>
bc10a7b5c0 2023-07-06  顽雨沉风:     <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
bc10a7b5c0 2023-07-06  顽雨沉风:   <![endif]-->
bc10a7b5c0 2023-07-06  顽雨沉风: </head>
bc10a7b5c0 2023-07-06  顽雨沉风: <body>
e9ba599490 2023-07-06  顽雨沉风: <header id="title-block-header">
e9ba599490 2023-07-06  顽雨沉风: <h1 class="title">卡组测试教程</h1>
e9ba599490 2023-07-06  顽雨沉风: </header>
bc10a7b5c0 2023-07-06  顽雨沉风: <details>
bc10a7b5c0 2023-07-06  顽雨沉风: <summary>
bc10a7b5c0 2023-07-06  顽雨沉风: 前言
bc10a7b5c0 2023-07-06  顽雨沉风: </summary>
bc10a7b5c0 2023-07-06  顽雨沉风: <p>有人想用残局,进行卡组<b>测试</b>。</p>
bc10a7b5c0 2023-07-06  顽雨沉风: <p>鄙人在此提供些微帮助。</p>
bc10a7b5c0 2023-07-06  顽雨沉风: </details>
bc10a7b5c0 2023-07-06  顽雨沉风: <details>
bc10a7b5c0 2023-07-06  顽雨沉风: <summary>
bc10a7b5c0 2023-07-06  顽雨沉风: 开局添加手卡
bc10a7b5c0 2023-07-06  顽雨沉风: </summary>
bc10a7b5c0 2023-07-06  顽雨沉风: <pre><code>--~ 必须位于残局文件顶部
bc10a7b5c0 2023-07-06  顽雨沉风: --~ 加载残局函数库
bc10a7b5c0 2023-07-06  顽雨沉风: Debug.AddCard(0
bc10a7b5c0 2023-07-06  顽雨沉风:   , 0
bc10a7b5c0 2023-07-06  顽雨沉风:   , 0
bc10a7b5c0 2023-07-06  顽雨沉风:   , LOCATION_MZONE
bc10a7b5c0 2023-07-06  顽雨沉风:   , -1
bc10a7b5c0 2023-07-06  顽雨沉风:   , POS_FACEUP)</code></pre>
bc10a7b5c0 2023-07-06  顽雨沉风: <p>这段加载代码应放于残局文件顶部,才可使用所有功能。</p>
bc10a7b5c0 2023-07-06  顽雨沉风: <pre><code>--~ 必须位于残局文件底部
bc10a7b5c0 2023-07-06  顽雨沉风: fun[&quot;开局添加手卡&quot;](6)</code></pre>
bc10a7b5c0 2023-07-06  顽雨沉风: <p>数字可改。</p>
bc10a7b5c0 2023-07-06  顽雨沉风: <p><b>注意:这项功能依赖于残局函数库。</b></p>
bc10a7b5c0 2023-07-06  顽雨沉风: <p><b>具体来说,就是要安装「游戏王残局简化版」。</b></p>
bc10a7b5c0 2023-07-06  顽雨沉风: </details>
bc10a7b5c0 2023-07-06  顽雨沉风: <p><b>☞ 以下内容不够重要,可以忽略</b></p>
bc10a7b5c0 2023-07-06  顽雨沉风: <details>
bc10a7b5c0 2023-07-06  顽雨沉风: <summary>
bc10a7b5c0 2023-07-06  顽雨沉风: 开启多回合
bc10a7b5c0 2023-07-06  顽雨沉风: </summary>
bc10a7b5c0 2023-07-06  顽雨沉风: <pre><code>aux.BeginPuzzle()</code></pre>
bc10a7b5c0 2023-07-06  顽雨沉风: <p>它注册了三个效果:</p>
bc10a7b5c0 2023-07-06  顽雨沉风: <ol type="1">
bc10a7b5c0 2023-07-06  顽雨沉风: <li>跳过抽卡阶段</li>
bc10a7b5c0 2023-07-06  顽雨沉风: <li>跳过准备阶段</li>
bc10a7b5c0 2023-07-06  顽雨沉风: <li>结束阶段时,玩家血量<b>归零</b></li>
bc10a7b5c0 2023-07-06  顽雨沉风: </ol>
bc10a7b5c0 2023-07-06  顽雨沉风: 去掉这一代码,便可开启多回合。
bc10a7b5c0 2023-07-06  顽雨沉风: </details>
bc10a7b5c0 2023-07-06  顽雨沉风: <details>
bc10a7b5c0 2023-07-06  顽雨沉风: <summary>
bc10a7b5c0 2023-07-06  顽雨沉风: 完全操控 AI
bc10a7b5c0 2023-07-06  顽雨沉风: </summary>
bc10a7b5c0 2023-07-06  顽雨沉风: <pre><code>Debug.ReloadFieldBegin(
bc10a7b5c0 2023-07-06  顽雨沉风:   DUEL_ATTACK_FIRST_TURN
bc10a7b5c0 2023-07-06  顽雨沉风:   + DUEL_SIMPLE_AI
bc10a7b5c0 2023-07-06  顽雨沉风:   , 5)</code></pre>
bc10a7b5c0 2023-07-06  顽雨沉风: <p><b>去除</b>特定参数即可。</p>
bc10a7b5c0 2023-07-06  顽雨沉风: <pre><code>Debug.ReloadFieldBegin(
bc10a7b5c0 2023-07-06  顽雨沉风:   DUEL_ATTACK_FIRST_TURN
bc10a7b5c0 2023-07-06  顽雨沉风:   , 5)</code></pre>
bc10a7b5c0 2023-07-06  顽雨沉风: </details>
bc10a7b5c0 2023-07-06  顽雨沉风: <p><b>☞ 以下内容不够重要,可以忽略</b></p>
bc10a7b5c0 2023-07-06  顽雨沉风: <details>
bc10a7b5c0 2023-07-06  顽雨沉风: <summary>
bc10a7b5c0 2023-07-06  顽雨沉风: 控制抽卡数量
bc10a7b5c0 2023-07-06  顽雨沉风: </summary>
bc10a7b5c0 2023-07-06  顽雨沉风: <pre><code>Debug.SetPlayerInfo(0,0,0,0)</code></pre>
bc10a7b5c0 2023-07-06  顽雨沉风: 最后一个参数控制<b>每</b>回合抽卡数量。
bc10a7b5c0 2023-07-06  顽雨沉风: </details>
bc10a7b5c0 2023-07-06  顽雨沉风: <details>
bc10a7b5c0 2023-07-06  顽雨沉风: <summary>
bc10a7b5c0 2023-07-06  顽雨沉风: 伪洗牌
bc10a7b5c0 2023-07-06  顽雨沉风: </summary>
bc10a7b5c0 2023-07-06  顽雨沉风: <pre><code>Debug.ReloadFieldBegin(
bc10a7b5c0 2023-07-06  顽雨沉风:   DUEL_ATTACK_FIRST_TURN
bc10a7b5c0 2023-07-06  顽雨沉风:   + DUEL_SIMPLE_AI
bc10a7b5c0 2023-07-06  顽雨沉风:   , 5)</code></pre>
bc10a7b5c0 2023-07-06  顽雨沉风: <p><b>添加</b>特定参数即可。</p>
bc10a7b5c0 2023-07-06  顽雨沉风: <pre><code>Debug.ReloadFieldBegin(
bc10a7b5c0 2023-07-06  顽雨沉风:   DUEL_ATTACK_FIRST_TURN
bc10a7b5c0 2023-07-06  顽雨沉风:   + DUEL_SIMPLE_AI
bc10a7b5c0 2023-07-06  顽雨沉风:   + DUEL_PSEUDO_SHUFFLE
bc10a7b5c0 2023-07-06  顽雨沉风:   , 5)</code></pre>
bc10a7b5c0 2023-07-06  顽雨沉风: </details>
bc10a7b5c0 2023-07-06  顽雨沉风: <script>
bc10a7b5c0 2023-07-06  顽雨沉风: 
bc10a7b5c0 2023-07-06  顽雨沉风: document.onclick = function(event) {
bc10a7b5c0 2023-07-06  顽雨沉风: 
bc10a7b5c0 2023-07-06  顽雨沉风:   var target = event.target
bc10a7b5c0 2023-07-06  顽雨沉风: 
bc10a7b5c0 2023-07-06  顽雨沉风:   if (target.tagName == "PRE"
bc10a7b5c0 2023-07-06  顽雨沉风:   || target.tagName == "CODE") {
bc10a7b5c0 2023-07-06  顽雨沉风:     if (window.getSelection().toString() !== "") {
bc10a7b5c0 2023-07-06  顽雨沉风:       return
bc10a7b5c0 2023-07-06  顽雨沉风:       }
bc10a7b5c0 2023-07-06  顽雨沉风:     var range = document.createRange();
bc10a7b5c0 2023-07-06  顽雨沉风:     range.selectNodeContents(target);
bc10a7b5c0 2023-07-06  顽雨沉风:     window.getSelection().removeAllRanges();
bc10a7b5c0 2023-07-06  顽雨沉风:     window.getSelection().addRange(range);
bc10a7b5c0 2023-07-06  顽雨沉风:     var successful = document.execCommand("copy");
bc10a7b5c0 2023-07-06  顽雨沉风:     target.removeAttribute("contenteditable");
bc10a7b5c0 2023-07-06  顽雨沉风:     window.getSelection().removeAllRanges();
bc10a7b5c0 2023-07-06  顽雨沉风:     }
bc10a7b5c0 2023-07-06  顽雨沉风: 
bc10a7b5c0 2023-07-06  顽雨沉风:   }
bc10a7b5c0 2023-07-06  顽雨沉风: 
bc10a7b5c0 2023-07-06  顽雨沉风: 
bc10a7b5c0 2023-07-06  顽雨沉风: 目录列表 = document.getElementsByTagName("details")
bc10a7b5c0 2023-07-06  顽雨沉风: 
bc10a7b5c0 2023-07-06  顽雨沉风: function 展开或收起() {
bc10a7b5c0 2023-07-06  顽雨沉风:   if (目录列表[0].open == true) {
bc10a7b5c0 2023-07-06  顽雨沉风:     for (i = 0;
bc10a7b5c0 2023-07-06  顽雨沉风:       i < 目录列表.length;
bc10a7b5c0 2023-07-06  顽雨沉风:       i++) {
bc10a7b5c0 2023-07-06  顽雨沉风:       目录列表[i].open = false;
bc10a7b5c0 2023-07-06  顽雨沉风:       }
bc10a7b5c0 2023-07-06  顽雨沉风:     }
bc10a7b5c0 2023-07-06  顽雨沉风:   else  {
bc10a7b5c0 2023-07-06  顽雨沉风:     for (i = 0;
bc10a7b5c0 2023-07-06  顽雨沉风:       i < 目录列表.length;
bc10a7b5c0 2023-07-06  顽雨沉风:       i++) {
bc10a7b5c0 2023-07-06  顽雨沉风:       目录列表[i].open = true;
bc10a7b5c0 2023-07-06  顽雨沉风:       }
bc10a7b5c0 2023-07-06  顽雨沉风:     }
bc10a7b5c0 2023-07-06  顽雨沉风:   }
bc10a7b5c0 2023-07-06  顽雨沉风: 
bc10a7b5c0 2023-07-06  顽雨沉风: </script>
bc10a7b5c0 2023-07-06  顽雨沉风: </body>
bc10a7b5c0 2023-07-06  顽雨沉风: </html>