prompt context: announce kind byte, record 23 bytes, STOC 0x44 24 bytes (TICKET-451, v1.7.0)
u8 announce_kind after chain_link, set only while MSG_ANNOUNCE_NUMBER is open: 1 when the script called Duel.AnnounceLevel (it passes playerid + 0x10000 to the unit), else 2 when the asking effect has CATEGORY_DICE and is visible to the answering player, else 0. Contract, changelog, binding PromptContext.AnnounceKind + AnnouncePlain / Level / Dice, codec 24 bytes, probe: plain 0, AnnounceLevel 1, a dice effect's AnnounceNumber 2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3f84b0b50b
commit
954fbfc65b
12 files changed
+70
-40
No files matched your search
@@ -744,6 +744,7 @@ void ygol_push_running(field* pfield, effect* peffect, uint8_t phase) {
|
||||
running.description = peffect->description;
|
||||
running.script_index = peffect->ygol_script_index;
|
||||
running.phase = phase;
|
||||
running.category = peffect->category;
|
||||
auto& chain = pfield->core.current_chain;
|
||||
for(auto it = chain.rbegin(); it != chain.rend(); ++it) {
|
||||
if(it->triggering_effect == peffect) {
|
||||
|
||||
Reference in new issue
Block a user