Lines of
single_doc/卡组测试教程.md
from check-in 2efe3783d2
that are changed by the sequence of edits moving toward
check-in c1ba415e4d:
1: <details>
2: <summary>
3: 前言
4: </summary>
5: 有人想用残局,进行卡组测试。
6:
7: 鄙人在此提供些微帮助。
8: </details>
9:
10: <details>
11: <summary>
12: 开启多回合
13: </summary>
14:
15: ~~~
16: aux.BeginPuzzle()
17: ~~~
18:
19: 它注册了三个效果:
20:
21: 1. 跳过抽卡阶段
22: 1. 跳过准备阶段
23: 1. 结束阶段时,玩家血量归零
24:
25: 去掉这一代码,便可开启多回合。
26: </details>
27:
28: <details>
29: <summary>
30: 控制抽卡数量
31: </summary>
32:
33: ~~~
34: Debug.SetPlayerInfo(0,0,0,0)
35: ~~~
36:
37: 最后一个参数控制每回合抽卡数量。
38: </details>
39:
40: <details>
41: <summary>
42: 开局添加手卡
43: </summary>
44:
45: ~~~
46: --~ 加载残局函数库
2efe3783d2 2023-07-01 47: Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)
48: ~~~
49:
50: 这段加载代码应放于脚本顶部,才可使用所有功能。
51:
52: ~~~
53: fun["开局添加手卡"](6)
54: ~~~
55:
56: 这段代码应放于脚本底部。
57:
58: 数字可改。
59: </details>
60:
61: <details>
62: <summary>
63: 伪洗牌
64: </summary>
65:
66: ~~~
2efe3783d2 2023-07-01 67: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)
68: ~~~
69:
70: 添加特定参数即可。
71:
72: ~~~
2efe3783d2 2023-07-01 73: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,5)
74: ~~~
75: </details>
76:
77: <details>
78: <summary>
79: 完全操控 AI
80: </summary>
81:
82: ~~~
2efe3783d2 2023-07-01 83: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)
84: ~~~
85:
86: 去除特定参数即可。
87:
88: ~~~
2efe3783d2 2023-07-01 89: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN,5)
90: ~~~
91: </details>