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