ygo_test_custom_card
Test a custom or unreleased Yu-Gi-Oh! card on the real engine for script health, AI usage, and win-rate impact across seeded games.
Instructions
Test a custom/unreleased card on the real engine like a card designer would: (1) script health — the generated Lua loads and resolves without core errors; (2) usage — how often the AI actually summons/activates it over seeded games; (3) impact — deck win rate with the card swapped in vs without, same opponent, seeds and AI, alternating who goes first, with a 95% interval. Without a deck it uses a neutral vanilla shell, which checks that the card works, not its real-deck power.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Custom card temp ID (990000000+) or migrated official ID | |
| deck | No | Deck to test the card in (ydke://, .ydk content/path, text list, or passcode/name array) | |
| seed | No | Seed | |
| games | No | Games per side of the comparison (2-50) | |
| copies | No | Copies to swap in (1-3) | |
| maxTurns | No | Turn cap per game (unfinished games are never counted as wins) | |
| opponent | No | Opponent deck in the same formats (defaults to the neutral shell) |