f09bc1b37d 2024-01-21 1: % 卡组测试教程
f09bc1b37d 2024-01-21 2:
f09bc1b37d 2024-01-21 3: # 前言
f09bc1b37d 2024-01-21 4:
f09bc1b37d 2024-01-21 5: 有人想用残局,进行卡组<b>测试</b>。
f09bc1b37d 2024-01-21 6:
f09bc1b37d 2024-01-21 7: 鄙人在此提供些微帮助。
f09bc1b37d 2024-01-21 8:
f09bc1b37d 2024-01-21 9:
f09bc1b37d 2024-01-21 10: # 开局添加手卡
f09bc1b37d 2024-01-21 11:
f09bc1b37d 2024-01-21 12: <b>先安装</b>「游戏王残局简化版」。
f09bc1b37d 2024-01-21 13:
f09bc1b37d 2024-01-21 14: ~~~
f09bc1b37d 2024-01-21 15:
f09bc1b37d 2024-01-21 16: fun["开局添加手卡"](6)
f09bc1b37d 2024-01-21 17:
f09bc1b37d 2024-01-21 18: ~~~
f09bc1b37d 2024-01-21 19:
f09bc1b37d 2024-01-21 20: 数字可改。
f09bc1b37d 2024-01-21 21:
f09bc1b37d 2024-01-21 22: ***
f09bc1b37d 2024-01-21 23:
f09bc1b37d 2024-01-21 24: # 开启多回合
f09bc1b37d 2024-01-21 25:
f09bc1b37d 2024-01-21 26: ~~~
f09bc1b37d 2024-01-21 27: aux.BeginPuzzle()
f09bc1b37d 2024-01-21 28:
f09bc1b37d 2024-01-21 29: ~~~
f09bc1b37d 2024-01-21 30:
f09bc1b37d 2024-01-21 31: 它注册了三个效果:
f09bc1b37d 2024-01-21 32:
f09bc1b37d 2024-01-21 33: 1. 跳过抽卡阶段
f09bc1b37d 2024-01-21 34: 1. 跳过准备阶段
f09bc1b37d 2024-01-21 35: 1. 结束阶段时,玩家血量<b>归零</b>
f09bc1b37d 2024-01-21 36:
f09bc1b37d 2024-01-21 37: 去掉这一代码,便可开启多回合。
f09bc1b37d 2024-01-21 38:
f09bc1b37d 2024-01-21 39: # 完全操控 AI
f09bc1b37d 2024-01-21 40:
f09bc1b37d 2024-01-21 41: ~~~
f09bc1b37d 2024-01-21 42: Debug.ReloadFieldBegin(
f09bc1b37d 2024-01-21 43: DUEL_ATTACK_FIRST_TURN
f09bc1b37d 2024-01-21 44: + DUEL_SIMPLE_AI
f09bc1b37d 2024-01-21 45: , 5)
f09bc1b37d 2024-01-21 46:
f09bc1b37d 2024-01-21 47: ~~~
f09bc1b37d 2024-01-21 48:
f09bc1b37d 2024-01-21 49: <b>去除</b>特定参数即可。
f09bc1b37d 2024-01-21 50:
f09bc1b37d 2024-01-21 51: ~~~
f09bc1b37d 2024-01-21 52: Debug.ReloadFieldBegin(
f09bc1b37d 2024-01-21 53: DUEL_ATTACK_FIRST_TURN
f09bc1b37d 2024-01-21 54: , 5)
f09bc1b37d 2024-01-21 55:
f09bc1b37d 2024-01-21 56: ~~~
f09bc1b37d 2024-01-21 57:
f09bc1b37d 2024-01-21 58: ***
f09bc1b37d 2024-01-21 59:
f09bc1b37d 2024-01-21 60: # 控制抽卡数量
f09bc1b37d 2024-01-21 61:
f09bc1b37d 2024-01-21 62: ~~~
f09bc1b37d 2024-01-21 63: Debug.SetPlayerInfo(0,0,0,0)
f09bc1b37d 2024-01-21 64:
f09bc1b37d 2024-01-21 65: ~~~
f09bc1b37d 2024-01-21 66:
f09bc1b37d 2024-01-21 67: 最后一个参数控制<b>每</b>回合抽卡数量。
f09bc1b37d 2024-01-21 68:
f09bc1b37d 2024-01-21 69: # 伪洗牌
f09bc1b37d 2024-01-21 70:
f09bc1b37d 2024-01-21 71: ~~~
f09bc1b37d 2024-01-21 72: Debug.ReloadFieldBegin(
f09bc1b37d 2024-01-21 73: DUEL_ATTACK_FIRST_TURN
f09bc1b37d 2024-01-21 74: + DUEL_SIMPLE_AI
f09bc1b37d 2024-01-21 75: , 5)
f09bc1b37d 2024-01-21 76:
f09bc1b37d 2024-01-21 77: ~~~
f09bc1b37d 2024-01-21 78:
f09bc1b37d 2024-01-21 79: <b>添加</b>特定参数即可。
f09bc1b37d 2024-01-21 80:
f09bc1b37d 2024-01-21 81: ~~~
f09bc1b37d 2024-01-21 82: Debug.ReloadFieldBegin(
f09bc1b37d 2024-01-21 83: DUEL_ATTACK_FIRST_TURN
f09bc1b37d 2024-01-21 84: + DUEL_SIMPLE_AI
f09bc1b37d 2024-01-21 85: + DUEL_PSEUDO_SHUFFLE
f09bc1b37d 2024-01-21 86: , 5)
f09bc1b37d 2024-01-21 87:
f09bc1b37d 2024-01-21 88: ~~~
f09bc1b37d 2024-01-21 89:
f09bc1b37d 2024-01-21 90: # 随机抽卡
f09bc1b37d 2024-01-21 91:
f09bc1b37d 2024-01-21 92: ~~~
f09bc1b37d 2024-01-21 93: fun["随机抽卡"](6)
f09bc1b37d 2024-01-21 94:
f09bc1b37d 2024-01-21 95: ~~~
f09bc1b37d 2024-01-21 96:
f09bc1b37d 2024-01-21 97: 数字可改。
f09bc1b37d 2024-01-21 98: