游戏王残局简化版

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

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

Lines of single_doc/卡组测试教程.md from check-in 2af3c67742 that are changed by the sequence of edits moving toward check-in f339169133:

                         1: 
                         2: <div class="title">卡组测试教程</div>
                         3: 
                         4: <details>
                         5: <summary>
                         6: 前言
                         7: </summary>
                         8: 有人想用残局,进行卡组测试。
                         9: 
                        10: 鄙人在此提供些微帮助。
                        11: 
                        12: </details>
                        13: 
                        14: <details>
                        15: <summary>
                        16: 开局添加手卡
                        17: </summary>
                        18: 
                        19: ~~~
                        20: --~ 必须位于残局文件顶部
                        21: --~ 加载残局函数库
                        22: Debug.AddCard(0
                        23:   , 0
                        24:   , 0
                        25:   , LOCATION_MZONE
                        26:   , -1
                        27:   , POS_FACEUP)
                        28: ~~~
                        29: 
                        30: 这段加载代码应放于残局文件顶部,才可使用所有功能。
                        31: 
                        32: ~~~
                        33: --~ 必须位于残局文件底部
                        34: fun["开局添加手卡"](6)
                        35: ~~~
                        36: 
                        37: 数字可改。
                        38: 
                        39: <b>注意:这项功能依赖于残局函数库。</b>
                        40: 
                        41: <b>具体来说,就是要安装「游戏王残局简化版」。</b>
                        42: 
                        43: </details>
                        44: 
                        45: <b>☞ 以下内容不够重要,可以忽略</b>
                        46: 
                        47: <details>
                        48: <summary>
                        49: 开启多回合
                        50: </summary>
                        51: 
                        52: ~~~
                        53: aux.BeginPuzzle()
                        54: ~~~
                        55: 
                        56: 它注册了三个效果:
                        57: 
                        58: 1. 跳过抽卡阶段
                        59: 1. 跳过准备阶段
                        60: 1. 结束阶段时,玩家血量<b>归零</b>
                        61: 
                        62: 去掉这一代码,便可开启多回合。
                        63: </details>
                        64: 
                        65: <details>
                        66: <summary>
                        67: 控制抽卡数量
                        68: </summary>
                        69: 
                        70: ~~~
                        71: Debug.SetPlayerInfo(0,0,0,0)
                        72: ~~~
                        73: 
                        74: 最后一个参数控制每回合抽卡数量。
                        75: </details>
                        76: 
                        77: 
                        78: 
                        79: <details>
                        80: <summary>
                        81: 伪洗牌
                        82: </summary>
                        83: 
                        84: ~~~
                        85: Debug.ReloadFieldBegin(
                        86:   DUEL_ATTACK_FIRST_TURN
                        87:   + DUEL_SIMPLE_AI
                        88:   , 5)
                        89: ~~~
                        90: 
                        91: 添加特定参数即可。
                        92: 
                        93: ~~~
                        94: Debug.ReloadFieldBegin(
                        95:   DUEL_ATTACK_FIRST_TURN
                        96:   + DUEL_SIMPLE_AI
                        97:   + DUEL_PSEUDO_SHUFFLE
                        98:   , 5)
                        99: ~~~
                       100: </details>
                       101: 
2af3c67742 2023-07-05  102: <details>
2af3c67742 2023-07-05  103: <summary>
2af3c67742 2023-07-05  104: 完全操控 AI
2af3c67742 2023-07-05  105: </summary>
2af3c67742 2023-07-05  106: 
2af3c67742 2023-07-05  107: ~~~
2af3c67742 2023-07-05  108: Debug.ReloadFieldBegin(
2af3c67742 2023-07-05  109:   DUEL_ATTACK_FIRST_TURN
2af3c67742 2023-07-05  110:   + DUEL_SIMPLE_AI
2af3c67742 2023-07-05  111:   , 5)
2af3c67742 2023-07-05  112: ~~~
2af3c67742 2023-07-05  113: 
2af3c67742 2023-07-05  114: 去除特定参数即可。
                       115: 
2af3c67742 2023-07-05  116: ~~~
2af3c67742 2023-07-05  117: Debug.ReloadFieldBegin(
2af3c67742 2023-07-05  118:   DUEL_ATTACK_FIRST_TURN
2af3c67742 2023-07-05  119:   , 5)
2af3c67742 2023-07-05  120: ~~~
2af3c67742 2023-07-05  121: </details>