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