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