Shandalar - Program Bugs
Multicolored and Mythic Rare cards aren't sold in towns (pending)
And probably can't generated in a variety of other ways. colors_friendly_enough() at 0x56C0E5 is at least part of the problem for multicolored cards, since it assumes all cards are monocolored, and plenty of random-card-generation functions call it.
Comments
Posted by Korath » 10 Sep 2015, 01:23
Multicolored part fixed for the Nomad's Bazaar series in commit ca76264:
commit ca7626472feec01cffec33b6bcd1e08877b68a01
Author: Korath <dgk@Dirge.none>
Date: Mon Sep 7 20:42:31 2015 -0400
[NB] colors_friendly_enough() works with multicolored cards
This is a fairly widely-used utility function, so I'm not certain of all the
effects; but they should all be positive. This makes multicolor cards work
correctly in:
* the player's initial random deck
* price paid when player sells (terrain-dependent)
* bonus cards awarded after winning a wilderness duel
* price charged at Nomad's Bazaars (terrain-dependent)
* towns' cards for sale
* apparently something else in towns; it's unclear.
commit ca7626472feec01cffec33b6bcd1e08877b68a01
Author: Korath <dgk@Dirge.none>
Date: Mon Sep 7 20:42:31 2015 -0400
[NB] colors_friendly_enough() works with multicolored cards
This is a fairly widely-used utility function, so I'm not certain of all the
effects; but they should all be positive. This makes multicolor cards work
correctly in:
* the player's initial random deck
* price paid when player sells (terrain-dependent)
* bonus cards awarded after winning a wilderness duel
* price charged at Nomad's Bazaars (terrain-dependent)
* towns' cards for sale
* apparently something else in towns; it's unclear.
1 Post
• Page 1 of 1
Ticket details
- Ticket ID: 565
- 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: 26 May 2015, 20:21
- Last visited by Korath » 10 Sep 2015, 01:25.
