游戏王残局简化版

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

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

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

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