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