游戏王残局简化版

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

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

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

                         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: --~ 加载残局函数库
                        48: Debug.AddCard(0
                        49:   , 0
                        50:   , 0
                        51:   , LOCATION_MZONE
                        52:   , -1
                        53:   , POS_FACEUP)
                        54: ~~~
                        55: 
                        56: 这段加载代码应放于残局文件顶部,才可使用所有功能。
                        57: 
                        58: ~~~
                        59: --~ 必须位于残局文件底部
                        60: fun["开局添加手卡"](6)
                        61: ~~~
                        62: 
                        63: 数字可改。
                        64: 
                        65: </details>
                        66: 
                        67: <details>
                        68: <summary>
                        69: 伪洗牌
                        70: </summary>
                        71: 
                        72: ~~~
                        73: Debug.ReloadFieldBegin(
                        74:   DUEL_ATTACK_FIRST_TURN
                        75:   + DUEL_SIMPLE_AI
                        76:   , 5)
                        77: ~~~
                        78: 
                        79: 添加特定参数即可。
                        80: 
                        81: ~~~
                        82: Debug.ReloadFieldBegin(
                        83:   DUEL_ATTACK_FIRST_TURN
                        84:   + DUEL_SIMPLE_AI
                        85:   + DUEL_PSEUDO_SHUFFLE
                        86:   , 5)
                        87: ~~~
                        88: </details>
                        89: 
                        90: <details>
                        91: <summary>
                        92: 完全操控 AI
                        93: </summary>
                        94: 
                        95: ~~~
                        96: Debug.ReloadFieldBegin(
                        97:   DUEL_ATTACK_FIRST_TURN
                        98:   + DUEL_SIMPLE_AI
                        99:   , 5)
                       100: ~~~
                       101: 
                       102: 去除特定参数即可。
                       103: 
                       104: ~~~
                       105: Debug.ReloadFieldBegin(
                       106:   DUEL_ATTACK_FIRST_TURN
                       107:   , 5)
                       108: ~~~
                       109: </details>