Skip to content

The rule version in puzzle mode

salix5 edited this page Oct 8, 2021 · 3 revisions

Last update: 2021 Sep

●void Debug.ReloadFieldBegin(int flag, int rule)

Start with the option flag and rule version rule.

flag
See the definition in common.h.
Puzzle mode:
DUEL_ATTACK_FIRST_TURN | DUEL_SIMPLE_AI

rule
1: Master Rule (Synchron Summon)
2: Master Rule 2 (Xyz Summon)
3: Master Rule 3 (Pendulum Summon)
4: New Master Rule (Link Summon)
5: Master Rule 2020 (now)
The default value is the current version (5) if not specified.

If your script of puzzle mode uses an old rule, please set the 2nd argument of Debug.ReloadFieldBegin().


●void Debug.ReloadFieldBegin(int flag, int rule)

以选项flag及规则版本rule开始布局。

flag
参考 common.h的定义。
残局模式:
DUEL_ATTACK_FIRST_TURN | DUEL_SIMPLE_AI

rule
1: 大师规则 (同步召唤)
2: 大师规则2 (超量召唤)
3: 大师规则3 (灵摆召唤)
4: 新大师规则 (连接召唤)
5: 大师规则2020 (现在)
如果没有设置,默认值为目前的版本(5)。

如果残局模式的脚本使用旧版规则,请设置Debug.ReloadFieldBegin()的第二个引数。