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: ~~~
bda4f9e2d0 2023-07-01 46: --~ 加载残局函数库
c1ba415e4d 2023-07-01 47: Debug.AddCard(0
c1ba415e4d 2023-07-01 48: , 0
c1ba415e4d 2023-07-01 49: , 0
c1ba415e4d 2023-07-01 50: , LOCATION_MZONE
c1ba415e4d 2023-07-01 51: , -1
c1ba415e4d 2023-07-01 52: , POS_FACEUP)
bda4f9e2d0 2023-07-01 53: ~~~
bda4f9e2d0 2023-07-01 54:
2c57447118 2023-07-01 55: 这段加载代码应放于残局文件顶部,才可使用所有功能。
bda4f9e2d0 2023-07-01 56:
bda4f9e2d0 2023-07-01 57: ~~~
bda4f9e2d0 2023-07-01 58: fun["开局添加手卡"](6)
bda4f9e2d0 2023-07-01 59: ~~~
bda4f9e2d0 2023-07-01 60:
2c57447118 2023-07-01 61: 这段代码应放于残局文件底部。
bda4f9e2d0 2023-07-01 62:
bda4f9e2d0 2023-07-01 63: 数字可改。
ff9270675e 2023-07-01 64: </details>
ff9270675e 2023-07-01 65:
ff9270675e 2023-07-01 66: <details>
ff9270675e 2023-07-01 67: <summary>
ff9270675e 2023-07-01 68: 伪洗牌
ff9270675e 2023-07-01 69: </summary>
2efe3783d2 2023-07-01 70:
ff9270675e 2023-07-01 71: ~~~
f5151431f7 2023-07-01 72: Debug.ReloadFieldBegin(
f5151431f7 2023-07-01 73: DUEL_ATTACK_FIRST_TURN
c1ba415e4d 2023-07-01 74: + DUEL_SIMPLE_AI
c1ba415e4d 2023-07-01 75: , 5)
ff9270675e 2023-07-01 76: ~~~
ff9270675e 2023-07-01 77:
6fd4451e62 2023-07-01 78: 添加特定参数即可。
ff9270675e 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: + DUEL_PSEUDO_SHUFFLE
c1ba415e4d 2023-07-01 85: , 5)
ff9270675e 2023-07-01 86: ~~~
ff9270675e 2023-07-01 87: </details>
ff9270675e 2023-07-01 88:
ff9270675e 2023-07-01 89: <details>
ff9270675e 2023-07-01 90: <summary>
ff9270675e 2023-07-01 91: 完全操控 AI
ff9270675e 2023-07-01 92: </summary>
2efe3783d2 2023-07-01 93:
ff9270675e 2023-07-01 94: ~~~
f5151431f7 2023-07-01 95: Debug.ReloadFieldBegin(
f5151431f7 2023-07-01 96: DUEL_ATTACK_FIRST_TURN
c1ba415e4d 2023-07-01 97: + DUEL_SIMPLE_AI
c1ba415e4d 2023-07-01 98: , 5)
ff9270675e 2023-07-01 99: ~~~
ff9270675e 2023-07-01 100:
6fd4451e62 2023-07-01 101: 去除特定参数即可。
ff9270675e 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: , 5)
ff9270675e 2023-07-01 107: ~~~
e194bf0b15 2023-07-01 108: </details>