游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [5d7197b5d9]:

To Artifact [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)