agent/Add Chaos Ritual (Ritual of Light and Darkness) - #283
Conversation
Add a full ChaosRitual deck AI executor with extensive logic: summon/activate executors, chain/select handlers, Mind Shuffle and Light & Darkness Ritual handling, Gallant Thief tribute selection, Skull Archfiend recycle rules, search/setting reservations, hand-trap and extra-deck priorities, and many helper selectors and lifecycle trackers. Also register the new Deck=ChaosRitual entry in BotWrapper/bot.conf. Changes are localized to ChaosRitualExecutor.cs and bot.conf; no unrelated files modified.
|
GPT 5.6:
|
Tightens ChaosRitual executor logic to fix misfires and incorrect selections. Separates Celtic Mystic summon-success draw from its ignition effect and tracks pending triggers; prevents stale generic descriptions from inheriting wrong conditions. Implements Light & Darkness Ritual material selection state to allow MSG_SELECT_UNSELECT confirmation and avoid over-selecting grave monsters. Improves Black Luster Soldier battle/attack ordering and description-aware activation checks for several cards (Gallant Thief, Magician of Dark Chaos, MaxxC, MindShuffle, Ragged Records, Skull Archfiend, Spell Shattering Sword). Adds opponent-target reservation checks, refines Spatial Trunade/selection priorities, and adjusts various activation/search guards to handle server/core description differences and prevent double-preselection.
感谢大佬的 review,问题我已经逐项修正,并重新检查了一下逻辑。
|
foohyfooh
left a comment
There was a problem hiding this comment.
I was playing against this to try and practice against ROLAD so I noticed some things.
I am not sure where the logic for Black Skull Dragon the Archfiend Dragon of Unity selecting its position is but the bot only seems to summon it in defense even when it being in attack would have allowed it to win at that point.
| return false; | ||
| } | ||
|
|
||
| private bool TheFallenTheVirtuousActivate() |
There was a problem hiding this comment.
When I was playing against this it kept targeting Fiendsmith's Requiem which could have just used its effect to dodge the targeting.
Also it kinda let me get to Requiem rather than destroying the Lurrie so that is something to figure out.
There was a problem hiding this comment.
Thank you for testing the Bot and providing your feedback.
1.Regarding Black Skull Dragon the Archfiend Dragon of Unity, its own effect text specifically requires it to be Special Summoned in Defense Position. Therefore, it cannot be Special Summoned in Attack Position through that effect.
2.Regarding The Fallen & The Virtuous, one of its current rules intentionally prioritizes destroying Extra Deck monsters. However, its target evaluation is relatively complex, especially when facing cards such as Fiendsmith’s Requiem that can leave the field in response. I will continue considering how to further optimize its target-selection logic.
There was a problem hiding this comment.
1.Regarding Black Skull Dragon the Archfiend Dragon of Unity, its own effect text specifically requires it to be Special Summoned in Defense Position. Therefore, it cannot be Special Summoned in Attack Position through that effect.
Sorry about that comment then. I read the effect and somehow missed that part.
This change tightens Chaos Ritual AI responsiveness around chain-snapshot tracking and selection state. It adds pending-target bookkeeping for Black Chaos, Spell Shattering Sword, and Fydraulis, prevents stale chain/Deck-search selection from consuming the wrong prompt, and improves target prioritization for Fallen/Fydraulis destruction and general effect targeting. It also fixes several activation checks for multi-effect cards, face-up monster filtering, and Black Chaos/Griffoh support searches so the bot chooses the correct action without relying on stale chain data.
|
已修正前述三项问题精灵圣贤者
魔法效果之剑
OnChaining
额外新增了天救龙的目标预约逻辑
|
Summary
Add the Chaos Ritual deck and its AI decision-making logic.
Changes
AI_ChaosRitual.ydk.BotWrapper/bot.conf.ChaosRitualExecutor.cs.Validation
Follow-up Files
For additional explanation of the AI logic, please see:
AI_ChaosRitual_rule copy.md