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