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>
faba112e7d 2023-07-05 8: 有人想用残局,进行卡组<b>测试</b>。
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:
5820fafa40 2023-07-01 43: </details>
018bab7c55 2023-07-01 44:
6932193319 2023-07-05 45: <b>☞ 以下内容不够重要,可以忽略</b>
6932193319 2023-07-05 46:
5820fafa40 2023-07-01 47: <details>
5820fafa40 2023-07-01 48: <summary>
cbdee3d921 2023-07-05 49: 开启多回合
5820fafa40 2023-07-01 50: </summary>
2efe3783d2 2023-07-01 51:
5820fafa40 2023-07-01 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: 去掉这一代码,便可开启多回合。
5820fafa40 2023-07-01 63: </details>
2af3c67742 2023-07-05 64:
2af3c67742 2023-07-05 65: <details>
2af3c67742 2023-07-05 66: <summary>
f339169133 2023-07-05 67: 完全操控 AI
f339169133 2023-07-05 68: </summary>
f339169133 2023-07-05 69:
f339169133 2023-07-05 70: ~~~
f339169133 2023-07-05 71: Debug.ReloadFieldBegin(
f339169133 2023-07-05 72: DUEL_ATTACK_FIRST_TURN
f339169133 2023-07-05 73: + DUEL_SIMPLE_AI
f339169133 2023-07-05 74: , 5)
f339169133 2023-07-05 75: ~~~
f339169133 2023-07-05 76:
29fb4006a0 2023-07-05 77: <b>去除</b>特定参数即可。
f339169133 2023-07-05 78:
f339169133 2023-07-05 79: ~~~
f339169133 2023-07-05 80: Debug.ReloadFieldBegin(
f339169133 2023-07-05 81: DUEL_ATTACK_FIRST_TURN
f339169133 2023-07-05 82: , 5)
f339169133 2023-07-05 83: ~~~
f339169133 2023-07-05 84: </details>
1e14de5096 2023-07-05 85:
1e14de5096 2023-07-05 86: <b>☞ 以下内容不够重要,可以忽略</b>
f339169133 2023-07-05 87:
f339169133 2023-07-05 88: <details>
f339169133 2023-07-05 89: <summary>
cbdee3d921 2023-07-05 90: 控制抽卡数量
cbdee3d921 2023-07-05 91: </summary>
cbdee3d921 2023-07-05 92:
cbdee3d921 2023-07-05 93: ~~~
cbdee3d921 2023-07-05 94: Debug.SetPlayerInfo(0,0,0,0)
cbdee3d921 2023-07-05 95: ~~~
cbdee3d921 2023-07-05 96:
bd5f6e4fb9 2023-07-05 97: 最后一个参数控制<b>每</b>回合抽卡数量。
cbdee3d921 2023-07-05 98: </details>
cbdee3d921 2023-07-05 99:
cbdee3d921 2023-07-05 100:
cbdee3d921 2023-07-05 101:
cbdee3d921 2023-07-05 102: <details>
cbdee3d921 2023-07-05 103: <summary>
cbdee3d921 2023-07-05 104: 伪洗牌
cbdee3d921 2023-07-05 105: </summary>
cbdee3d921 2023-07-05 106:
cbdee3d921 2023-07-05 107: ~~~
cbdee3d921 2023-07-05 108: Debug.ReloadFieldBegin(
cbdee3d921 2023-07-05 109: DUEL_ATTACK_FIRST_TURN
cbdee3d921 2023-07-05 110: + DUEL_SIMPLE_AI
cbdee3d921 2023-07-05 111: , 5)
cbdee3d921 2023-07-05 112: ~~~
cbdee3d921 2023-07-05 113:
b608952ae3 2023-07-05 114: <b>添加</b>特定参数即可。
c1ba415e4d 2023-07-01 115:
c1ba415e4d 2023-07-01 116: ~~~
f5151431f7 2023-07-01 117: Debug.ReloadFieldBegin(
f5151431f7 2023-07-01 118: DUEL_ATTACK_FIRST_TURN
cbdee3d921 2023-07-05 119: + DUEL_SIMPLE_AI
cbdee3d921 2023-07-05 120: + DUEL_PSEUDO_SHUFFLE
c1ba415e4d 2023-07-01 121: , 5)
c1ba415e4d 2023-07-01 122: ~~~
c1ba415e4d 2023-07-01 123: </details>
cbdee3d921 2023-07-05 124:
f339169133 2023-07-05 125: