Shandalar - Program Bugs
Additional ante cards don't change ownership (pending)
Only the first 0-3 cards in the ante (depending on duel type) actually change ownership, though they can be replaced. So even if you're duelling a crazy enemy deck that recurs Contract from Below a dozen times, and even though the duel engine can handle up to 16 cards in each player's ante, you don't get the cards if you win. 
Preliminary analysis:

Preliminary analysis:
- Duel in a dungeon
- You win: you get 0 cards
- You lose: works correctly
- Duel to free a wizard-controlled city
- You win: you only get the card in the enemy's first ante slot. Plus:
- It's put into your current deck, at least until you start the deckbuilder
- There's no "You won this card" message
- You lose: you lose the first three cards in your ante
- You win: you only get the card in the enemy's first ante slot. Plus:
- Duel in wilderness against a lieutenant (High Priest/Thought Invoker/Necromancer/War Mage/Summoner)
- You win: nothing
- You lose: you lose the first three cards in your ante
- Duel in wilderness against something other than a lieutenant
- You win: variable number of cards, of which up to the first three are replaced by any in the opponent's ante
If all the cards won are common, you get (current enemy's base life / 2) + (original enemy's unk_c3 value); current and original enemy may differ if the original enemy summons another, as Witch, Seer, Enchantress, and Sorceress are wont to do. Uncommon cards count as two commons, rare three, and mythic rare four. - You lose: you lose the first three cards in your ante
- You win: variable number of cards, of which up to the first three are replaced by any in the opponent's ante
- Duel in lair
- You win: you win exactly the number that were offered as ante. Plus:
- If the enemy has fewer cards in his ante at the end of the game because of Jeweled Bird, horrible things ensue. If you're lucky, it just crashes.
- You lose: nothing (see #555)
- You win: you win exactly the number that were offered as ante. Plus:
- Duel in a tournament: less clear than in Shandalar (and inaccessible from that anyway), but looks correct at a glance.
- The bullet points under 2b and 5a above.
- If you're playing without enough cards in your deck, an ante card may put a basic land you don't actually own into the ante; if you lose, the card is shown as "lost", but this doesn't actually do anything.
- Dungeon treasures (whether or not you've got them yet or not) can be added to the ante by ante cards.
- If you initially ante two copies or more copies of the same card when attempting to free a city, it looks like only one is removed from your library when duelling.
- If you mulligan when attempting to free a city, it looks like only the first card in your ante is removed from your deck.
Comments
Posted by Korath » 29 Jun 2017, 02:16
Remaining as of dcaad44:
- 2a2: Win while liberating a town: cards the player wins in ante aren't shown
- 3a: Win against wilderness lieutenant: you get nothing, even if he ante'd during the duel
- Any cards the human offers as ante during a lair encounter aren't lost if he loses
- All the extra bullet points in "Some other problems" at the end.
1 Post
• Page 1 of 1
Ticket details
- Ticket ID: 738
- Project: Shandalar
- Status: Pending
- Component: Adventure Mode
- Project version: Ruined Tower 1
- Priority: Normal
- Severity: Normal
- Assigned to: Korath
- Reported by: Korath
- Reporter's tickets: List all tickets
- Reported on: 17 Sep 2015, 20:30
- Last visited by Korath » 05 Sep 2017, 22:36.