游戏王残局简化版

Annotation For 残局文料/卡组测试教程.html
Login

Annotation For 残局文料/卡组测试教程.html

Origin for each line in 残局文料/卡组测试教程.html from check-in 1cea8ec3df:

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