游戏王残局简化版

Check-in [1a5e6be852]
Login

Check-in [1a5e6be852]

Overview
Comment:补上场景标题
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 1a5e6be852dff77e822a48b9f669c222a859ecfa4ea231668a78133a988e569a
User & Date: 顽雨沉风 on 2023-10-23 13:04:13
Other Links: manifest | tags
Context
2023-10-23
13:10
补上场景标题 check-in: 0e45585616 user: 顽雨沉风 tags: trunk
13:04
补上场景标题 check-in: 1a5e6be852 user: 顽雨沉风 tags: trunk
13:01
补上料理对决的标题 check-in: 44224492d2 user: 顽雨沉风 tags: trunk
Changes

Modified single_doc/场景.html from [5d7197b5d9] to [bf8c9258da].

122
123
124
125
126
127
128

129
130
131
132
133
134
135
136
137
138
139
<li><a href="#小结" id="toc-小结"><span class="toc-section-number">3</span> 小结</a></li>
<li><a href="#原因" id="toc-原因"><span class="toc-section-number">4</span> 原因</a>
<ul>
<li><a href="#召唤时的卡名提示" id="toc-召唤时的卡名提示"><span class="toc-section-number">4.1</span> 召唤时的卡名提示</a></li>
<li><a href="#料理对决类的失误" id="toc-料理对决类的失误"><span class="toc-section-number">4.2</span> 料理对决类的失误</a>
<ul>
<li><a href="#分析" id="toc-分析"><span class="toc-section-number">4.2.1</span> 分析</a></li>

<li><a href="#section-81" id="toc-section-81"><span class="toc-section-number">4.2.2</span> </a></li>
<li><a href="#section-82" id="toc-section-82"><span class="toc-section-number">4.2.3</span> </a></li>
<li><a href="#section-83" id="toc-section-83"><span class="toc-section-number">4.2.4</span> </a></li>
<li><a href="#section-84" id="toc-section-84"><span class="toc-section-number">4.2.5</span> </a></li>
</ul></li>
<li><a href="#残局模式的-act.png-问题" id="toc-残局模式的-act.png-问题"><span class="toc-section-number">4.3</span> 残局模式的 act.png 问题</a>
<ul>
<li><a href="#分析-1" id="toc-分析-1"><span class="toc-section-number">4.3.1</span> 分析</a></li>
<li><a href="#额外卡组区域" id="toc-额外卡组区域"><span class="toc-section-number">4.3.2</span> 额外卡组区域</a></li>
<li><a href="#墓地区域" id="toc-墓地区域"><span class="toc-section-number">4.3.3</span> 墓地区域</a></li>
<li><a href="#除外区域" id="toc-除外区域"><span class="toc-section-number">4.3.4</span> 除外区域</a></li>







>
|
|
|
<







122
123
124
125
126
127
128
129
130
131
132

133
134
135
136
137
138
139
<li><a href="#小结" id="toc-小结"><span class="toc-section-number">3</span> 小结</a></li>
<li><a href="#原因" id="toc-原因"><span class="toc-section-number">4</span> 原因</a>
<ul>
<li><a href="#召唤时的卡名提示" id="toc-召唤时的卡名提示"><span class="toc-section-number">4.1</span> 召唤时的卡名提示</a></li>
<li><a href="#料理对决类的失误" id="toc-料理对决类的失误"><span class="toc-section-number">4.2</span> 料理对决类的失误</a>
<ul>
<li><a href="#分析" id="toc-分析"><span class="toc-section-number">4.2.1</span> 分析</a></li>
<li><a href="#糕冷的料理对决" id="toc-糕冷的料理对决"><span class="toc-section-number">4.2.2</span> 「糕冷的料理对决」</a></li>
<li><a href="#section-81" id="toc-section-81"><span class="toc-section-number">4.2.3</span> </a></li>
<li><a href="#section-82" id="toc-section-82"><span class="toc-section-number">4.2.4</span> </a></li>
<li><a href="#section-83" id="toc-section-83"><span class="toc-section-number">4.2.5</span> </a></li>

</ul></li>
<li><a href="#残局模式的-act.png-问题" id="toc-残局模式的-act.png-问题"><span class="toc-section-number">4.3</span> 残局模式的 act.png 问题</a>
<ul>
<li><a href="#分析-1" id="toc-分析-1"><span class="toc-section-number">4.3.1</span> 分析</a></li>
<li><a href="#额外卡组区域" id="toc-额外卡组区域"><span class="toc-section-number">4.3.2</span> 额外卡组区域</a></li>
<li><a href="#墓地区域" id="toc-墓地区域"><span class="toc-section-number">4.3.3</span> 墓地区域</a></li>
<li><a href="#除外区域" id="toc-除外区域"><span class="toc-section-number">4.3.4</span> 除外区域</a></li>
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
<p>也就是说,低 16 位用来表示我方可选区域,高 16
位用来表示对方可选区域。</p>
<p>之所以要用互换,而不是用直接移位,估计是因为我方与对方的视角不同。</p>
<p>那么为什么 hovered_controler 的值会出现异常?</p>
<p>这是因为 event_handler.cpp
在处理额外怪兽区域悬停消息的时候,只考虑到了这个区域是否有卡,而没有考虑到
selectable_field 。</p>
<h3 data-number="4.2.2" id="section-81"><span class="header-section-number">4.2.2</span> </h3>
<pre><code>Debug.SetAIName(&quot;base-2&quot;)

Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)

Debug.SetPlayerInfo(0,8000,0,0)

Debug.SetPlayerInfo(1,8000,0,0)







|







3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
<p>也就是说,低 16 位用来表示我方可选区域,高 16
位用来表示对方可选区域。</p>
<p>之所以要用互换,而不是用直接移位,估计是因为我方与对方的视角不同。</p>
<p>那么为什么 hovered_controler 的值会出现异常?</p>
<p>这是因为 event_handler.cpp
在处理额外怪兽区域悬停消息的时候,只考虑到了这个区域是否有卡,而没有考虑到
selectable_field 。</p>
<h3 data-number="4.2.2" id="糕冷的料理对决"><span class="header-section-number">4.2.2</span> 「糕冷的料理对决」</h3>
<pre><code>Debug.SetAIName(&quot;base-2&quot;)

Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)

Debug.SetPlayerInfo(0,8000,0,0)

Debug.SetPlayerInfo(1,8000,0,0)
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177


Debug.ReloadFieldEnd()

aux.BeginPuzzle()

</code></pre>
<h3 data-number="4.2.3" id="section-82"><span class="header-section-number">4.2.3</span> </h3>
<pre><code>Debug.SetAIName(&quot;base-2&quot;)

Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN,5)

Debug.SetPlayerInfo(0,8000,0,0)

Debug.SetPlayerInfo(1,8000,0,0)







|







3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177


Debug.ReloadFieldEnd()

aux.BeginPuzzle()

</code></pre>
<h3 data-number="4.2.3" id="section-81"><span class="header-section-number">4.2.3</span> </h3>
<pre><code>Debug.SetAIName(&quot;base-2&quot;)

Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN,5)

Debug.SetPlayerInfo(0,8000,0,0)

Debug.SetPlayerInfo(1,8000,0,0)
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
Debug.AddCard(27288416,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)

Debug.ReloadFieldEnd()

--~ aux.BeginPuzzle()

</code></pre>
<h3 data-number="4.2.4" id="section-83"><span class="header-section-number">4.2.4</span> </h3>
<pre><code>Debug.SetAIName(&quot;base-2&quot;)

Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN,5)

Debug.SetPlayerInfo(0,8000,0,0)

Debug.SetPlayerInfo(1,8000,0,0)







|







3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
Debug.AddCard(27288416,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)

Debug.ReloadFieldEnd()

--~ aux.BeginPuzzle()

</code></pre>
<h3 data-number="4.2.4" id="section-82"><span class="header-section-number">4.2.4</span> </h3>
<pre><code>Debug.SetAIName(&quot;base-2&quot;)

Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN,5)

Debug.SetPlayerInfo(0,8000,0,0)

Debug.SetPlayerInfo(1,8000,0,0)
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
Debug.AddCard(27288416,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)

Debug.ReloadFieldEnd()

--~ aux.BeginPuzzle()

</code></pre>
<h3 data-number="4.2.5" id="section-84"><span class="header-section-number">4.2.5</span> </h3>
<pre><code>Debug.SetAIName(&quot;base-2&quot;)

Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN,5)

Debug.SetPlayerInfo(0,8000,0,0)

Debug.SetPlayerInfo(1,8000,0,0)







|







3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
Debug.AddCard(27288416,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)

Debug.ReloadFieldEnd()

--~ aux.BeginPuzzle()

</code></pre>
<h3 data-number="4.2.5" id="section-83"><span class="header-section-number">4.2.5</span> </h3>
<pre><code>Debug.SetAIName(&quot;base-2&quot;)

Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN,5)

Debug.SetPlayerInfo(0,8000,0,0)

Debug.SetPlayerInfo(1,8000,0,0)

Modified single_doc/场景.md from [c1b8c0c0bc] to [c96e68ff13].

3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
Debug.ReloadFieldEnd()

aux.BeginPuzzle()


~~~

####

~~~
Debug.SetAIName("base-2")

Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN,5)

Debug.SetPlayerInfo(0,8000,0,0)







|







3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
Debug.ReloadFieldEnd()

aux.BeginPuzzle()


~~~

#### 连接蜘蛛

~~~
Debug.SetAIName("base-2")

Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN,5)

Debug.SetPlayerInfo(0,8000,0,0)