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