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