游戏王残局简化版

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

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

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

bc10a7b5c0 2023-07-06    1: <!DOCTYPE html>
bc10a7b5c0 2023-07-06    2: <html xmlns="http://www.w3.org/1999/xhtml" lang xml:lang>
bc10a7b5c0 2023-07-06    3: <head>
bc10a7b5c0 2023-07-06    4:   <meta charset="utf-8" />
bc10a7b5c0 2023-07-06    5:   <meta name="generator" content="pandoc" />
bc10a7b5c0 2023-07-06    6:   <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
bc10a7b5c0 2023-07-06    7:   <title>卡组测试教程</title>
bc10a7b5c0 2023-07-06    8:   <style>
bc10a7b5c0 2023-07-06    9: code{white-space: pre-wrap;}
bc10a7b5c0 2023-07-06   10: span.smallcaps{font-variant: small-caps;}
bc10a7b5c0 2023-07-06   11: div.columns{display: flex; gap: min(4vw, 1.5em);}
bc10a7b5c0 2023-07-06   12: div.column{flex: auto; overflow-x: auto;}
bc10a7b5c0 2023-07-06   13: div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
bc10a7b5c0 2023-07-06   14: 
bc10a7b5c0 2023-07-06   15: ul.task-list[class]{list-style: none;}
bc10a7b5c0 2023-07-06   16: ul.task-list li input[type="checkbox"] {
bc10a7b5c0 2023-07-06   17: font-size: inherit;
bc10a7b5c0 2023-07-06   18: width: 0.8em;
bc10a7b5c0 2023-07-06   19: margin: 0 0.8em 0.2em -1.6em;
bc10a7b5c0 2023-07-06   20: vertical-align: middle;
bc10a7b5c0 2023-07-06   21: }
bc10a7b5c0 2023-07-06   22: .display.math{display: block; text-align: center; margin: 0.5rem auto;}
bc10a7b5c0 2023-07-06   23: </style>
fa024a51f1 2023-07-15   24:   <style type="text/css">@media screen and (min-aspect-ratio:1/1) {html {background-color: f8f8f8;background-image:linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%), linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%);background-size: 8px 8px;background-position: 0 0, 16px 8px;}body {border: solid #a0a0a0 1px ;border-radius: 20px ;padding: 26px ;margin: 16px ;color: #101010 ;background-color: #efefef;padding: 2em 18%;}}h1,h2,h3,h4,h5,h6 {font-size: 1.5em;color: #3F5770;border-bottom: 0.1em solid #666666;margin: 1.2em 0em;}a {list-style: none;border-right: 0.3em solid #5183C466;border-left: 0.3em solid #5183C466;padding: 0.2em 0.4em;margin-bottom: 0.2em;margin-top: 0.3em;background-color: white;text-decoration-color: blue;}a:visited {color: blue;text-decoration-color: white;}a:active {color: red;}nav ul li {margin: 1.2em 0em;}p::before {content: "  ";}p {margin: 1.2em 0;}.title {background-color: white;font-size: 2em;text-align: center;}b {background-color: white;list-style: none;border-right: 0.3em solid #5183C466;border-left: 0.3em solid #5183C466;padding: 0.2em 0.4em;margin-bottom: 0.2em;margin-top: 0.3em;}details > summary {list-style: none;border-right: 0.3em solid #5183C466;border-left: 0.3em solid #5183C466;padding: 0.2em 0.4em;margin-bottom: 0.2em;margin-top: 0.3em;}details > summary:active {color: red;}pre {background: #f6f6f6;border-left: 0.5em solid #ccc;padding: 0.4em;border-radius: 0.2em;overflow-wrap:break-word;}pre:active {color: red;}code {font-family: "Verdana";}button {background: #ffffff;color: #20894d;}button:active {color: red;}</style>
bc10a7b5c0 2023-07-06   25:   <!--[if lt IE 9]>
bc10a7b5c0 2023-07-06   26:     <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
bc10a7b5c0 2023-07-06   27:   <![endif]-->
bc10a7b5c0 2023-07-06   28: </head>
bc10a7b5c0 2023-07-06   29: <body>
e9ba599490 2023-07-06   30: <header id="title-block-header">
e9ba599490 2023-07-06   31: <h1 class="title">卡组测试教程</h1>
e9ba599490 2023-07-06   32: </header>
fa024a51f1 2023-07-15   33: <nav id="TOC" role="doc-toc">
fa024a51f1 2023-07-15   34: <ul>
fa024a51f1 2023-07-15   35: <li><a href="#前言" id="toc-前言"><span class="toc-section-number">1</span> 前言</a></li>
78a84b4cf8 2023-07-24   36: <li><a href="#section" id="toc-section"><span class="toc-section-number">2</span> ———————————-</a></li>
78a84b4cf8 2023-07-24   37: <li><a href="#开局添加手卡" id="toc-开局添加手卡"><span class="toc-section-number">3</span> 开局添加手卡</a></li>
78a84b4cf8 2023-07-24   38: <li><a href="#以下内容不够重要可以忽略" id="toc-以下内容不够重要可以忽略"><span class="toc-section-number">4</span> ☞
78a84b4cf8 2023-07-24   39: 以下内容不够重要,可以忽略</a></li>
78a84b4cf8 2023-07-24   40: <li><a href="#开启多回合" id="toc-开启多回合"><span class="toc-section-number">5</span> 开启多回合</a></li>
78a84b4cf8 2023-07-24   41: <li><a href="#完全操控-ai" id="toc-完全操控-ai"><span class="toc-section-number">6</span> 完全操控 AI</a></li>
78a84b4cf8 2023-07-24   42: <li><a href="#section-1" id="toc-section-1"><span class="toc-section-number">7</span> ———————————</a></li>
78a84b4cf8 2023-07-24   43: <li><a href="#控制抽卡数量" id="toc-控制抽卡数量"><span class="toc-section-number">8</span> 控制抽卡数量</a></li>
78a84b4cf8 2023-07-24   44: <li><a href="#伪洗牌" id="toc-伪洗牌"><span class="toc-section-number">9</span> 伪洗牌</a></li>
78a84b4cf8 2023-07-24   45: <li><a href="#随机抽卡" id="toc-随机抽卡"><span class="toc-section-number">10</span> 随机抽卡</a></li>
fa024a51f1 2023-07-15   46: </ul>
fa024a51f1 2023-07-15   47: </nav>
fa024a51f1 2023-07-15   48: <h1 data-number="1" id="前言"><span class="header-section-number">1</span> 前言</h1>
bc10a7b5c0 2023-07-06   49: <p>有人想用残局,进行卡组<b>测试</b>。</p>
bc10a7b5c0 2023-07-06   50: <p>鄙人在此提供些微帮助。</p>
78a84b4cf8 2023-07-24   51: <h1 data-number="2" id="section"><span class="header-section-number">2</span> ———————————-</h1>
78a84b4cf8 2023-07-24   52: <h1 data-number="3" id="开局添加手卡"><span class="header-section-number">3</span> 开局添加手卡</h1>
7e914cbdf3 2023-07-15   53: <p><b>先安装</b>「游戏王残局简化版」。</p>
b4a988740c 2023-07-22   54: <pre><code>
194f62dfb2 2023-07-20   55: fun[&quot;开局添加手卡&quot;](6)
fa024a51f1 2023-07-15   56: </code></pre>
bc10a7b5c0 2023-07-06   57: <p>数字可改。</p>
78a84b4cf8 2023-07-24   58: <h1 data-number="4" id="以下内容不够重要可以忽略"><span class="header-section-number">4</span> ☞ 以下内容不够重要,可以忽略</h1>
78a84b4cf8 2023-07-24   59: <h1 data-number="5" id="开启多回合"><span class="header-section-number">5</span> 开启多回合</h1>
fa024a51f1 2023-07-15   60: <pre><code>aux.BeginPuzzle()
fa024a51f1 2023-07-15   61: </code></pre>
bc10a7b5c0 2023-07-06   62: <p>它注册了三个效果:</p>
bc10a7b5c0 2023-07-06   63: <ol type="1">
bc10a7b5c0 2023-07-06   64: <li>跳过抽卡阶段</li>
bc10a7b5c0 2023-07-06   65: <li>跳过准备阶段</li>
bc10a7b5c0 2023-07-06   66: <li>结束阶段时,玩家血量<b>归零</b></li>
bc10a7b5c0 2023-07-06   67: </ol>
fa024a51f1 2023-07-15   68: <p>去掉这一代码,便可开启多回合。</p>
78a84b4cf8 2023-07-24   69: <h1 data-number="6" id="完全操控-ai"><span class="header-section-number">6</span> 完全操控 AI</h1>
bc10a7b5c0 2023-07-06   70: <pre><code>Debug.ReloadFieldBegin(
fa024a51f1 2023-07-15   71: DUEL_ATTACK_FIRST_TURN
fa024a51f1 2023-07-15   72: + DUEL_SIMPLE_AI
fa024a51f1 2023-07-15   73: , 5)
fa024a51f1 2023-07-15   74: </code></pre>
bc10a7b5c0 2023-07-06   75: <p><b>去除</b>特定参数即可。</p>
bc10a7b5c0 2023-07-06   76: <pre><code>Debug.ReloadFieldBegin(
fa024a51f1 2023-07-15   77: DUEL_ATTACK_FIRST_TURN
fa024a51f1 2023-07-15   78: , 5)
fa024a51f1 2023-07-15   79: </code></pre>
78a84b4cf8 2023-07-24   80: <h1 data-number="7" id="section-1"><span class="header-section-number">7</span> ———————————</h1>
78a84b4cf8 2023-07-24   81: <h1 data-number="8" id="控制抽卡数量"><span class="header-section-number">8</span> 控制抽卡数量</h1>
fa024a51f1 2023-07-15   82: <pre><code>Debug.SetPlayerInfo(0,0,0,0)
fa024a51f1 2023-07-15   83: </code></pre>
fa024a51f1 2023-07-15   84: <p>最后一个参数控制<b>每</b>回合抽卡数量。</p>
78a84b4cf8 2023-07-24   85: <h1 data-number="9" id="伪洗牌"><span class="header-section-number">9</span> 伪洗牌</h1>
bc10a7b5c0 2023-07-06   86: <pre><code>Debug.ReloadFieldBegin(
fa024a51f1 2023-07-15   87: DUEL_ATTACK_FIRST_TURN
fa024a51f1 2023-07-15   88: + DUEL_SIMPLE_AI
fa024a51f1 2023-07-15   89: , 5)
fa024a51f1 2023-07-15   90: </code></pre>
bc10a7b5c0 2023-07-06   91: <p><b>添加</b>特定参数即可。</p>
bc10a7b5c0 2023-07-06   92: <pre><code>Debug.ReloadFieldBegin(
fa024a51f1 2023-07-15   93: DUEL_ATTACK_FIRST_TURN
fa024a51f1 2023-07-15   94: + DUEL_SIMPLE_AI
fa024a51f1 2023-07-15   95: + DUEL_PSEUDO_SHUFFLE
fa024a51f1 2023-07-15   96: , 5)
fa024a51f1 2023-07-15   97: </code></pre>
78a84b4cf8 2023-07-24   98: <h1 data-number="10" id="随机抽卡"><span class="header-section-number">10</span> 随机抽卡</h1>
78a84b4cf8 2023-07-24   99: <pre><code>fun[&quot;随机抽卡&quot;](6)
78a84b4cf8 2023-07-24  100: </code></pre>
78a84b4cf8 2023-07-24  101: <p>数字可改。</p>
bc10a7b5c0 2023-07-06  102: <script>
bc10a7b5c0 2023-07-06  103: 
bc10a7b5c0 2023-07-06  104: document.onclick = function(event) {
bc10a7b5c0 2023-07-06  105: 
bc10a7b5c0 2023-07-06  106:   var target = event.target
bc10a7b5c0 2023-07-06  107: 
bc10a7b5c0 2023-07-06  108:   if (target.tagName == "PRE"
bc10a7b5c0 2023-07-06  109:   || target.tagName == "CODE") {
bc10a7b5c0 2023-07-06  110:     if (window.getSelection().toString() !== "") {
bc10a7b5c0 2023-07-06  111:       return
bc10a7b5c0 2023-07-06  112:       }
bc10a7b5c0 2023-07-06  113:     var range = document.createRange();
bc10a7b5c0 2023-07-06  114:     range.selectNodeContents(target);
bc10a7b5c0 2023-07-06  115:     window.getSelection().removeAllRanges();
bc10a7b5c0 2023-07-06  116:     window.getSelection().addRange(range);
bc10a7b5c0 2023-07-06  117:     var successful = document.execCommand("copy");
bc10a7b5c0 2023-07-06  118:     target.removeAttribute("contenteditable");
bc10a7b5c0 2023-07-06  119:     window.getSelection().removeAllRanges();
bc10a7b5c0 2023-07-06  120:     }
bc10a7b5c0 2023-07-06  121: 
bc10a7b5c0 2023-07-06  122:   }
bc10a7b5c0 2023-07-06  123: 
bc10a7b5c0 2023-07-06  124: 
bc10a7b5c0 2023-07-06  125: 目录列表 = document.getElementsByTagName("details")
bc10a7b5c0 2023-07-06  126: 
bc10a7b5c0 2023-07-06  127: function 展开或收起() {
bc10a7b5c0 2023-07-06  128:   if (目录列表[0].open == true) {
bc10a7b5c0 2023-07-06  129:     for (i = 0;
bc10a7b5c0 2023-07-06  130:       i < 目录列表.length;
bc10a7b5c0 2023-07-06  131:       i++) {
bc10a7b5c0 2023-07-06  132:       目录列表[i].open = false;
bc10a7b5c0 2023-07-06  133:       }
bc10a7b5c0 2023-07-06  134:     }
bc10a7b5c0 2023-07-06  135:   else  {
bc10a7b5c0 2023-07-06  136:     for (i = 0;
bc10a7b5c0 2023-07-06  137:       i < 目录列表.length;
bc10a7b5c0 2023-07-06  138:       i++) {
bc10a7b5c0 2023-07-06  139:       目录列表[i].open = true;
bc10a7b5c0 2023-07-06  140:       }
bc10a7b5c0 2023-07-06  141:     }
bc10a7b5c0 2023-07-06  142:   }
bc10a7b5c0 2023-07-06  143: 
bc10a7b5c0 2023-07-06  144: </script>
bc10a7b5c0 2023-07-06  145: </body>
bc10a7b5c0 2023-07-06  146: </html>