Shandalar - Feature Requests
Choose randomly from a pool of appropriate AI decks (new)
Instead of all Merfolk Shamans having exactly the same deck at decks/0150.dck, when a duel starts, choose one out of all files in decks/0150/*.dck.
Just picking a random file is easy; it'll go in TENTATIVE_SHANDALAR_read_enemy_deck(). The problem is ensuring that that's called exactly once per encounter - for all I know, it might read the deck before choosing an ante card, then read it again at duel start, etc. If so, maybe assign the random number to choose which deck to a global, and only generate a new random number at each new encounter.
Just picking a random file is easy; it'll go in TENTATIVE_SHANDALAR_read_enemy_deck(). The problem is ensuring that that's called exactly once per encounter - for all I know, it might read the deck before choosing an ante card, then read it again at duel start, etc. If so, maybe assign the random number to choose which deck to a global, and only generate a new random number at each new encounter.
History
Changed ticket priority from "Normal" to "(unknown)"
Action performed by Korath » 24 Aug 2015, 18:25
Ticket details
- Ticket ID: 576
- Project: Shandalar
- Status: New
- Component: (unknown)
- Project version: (unknown)
- Priority: Normal
- Assigned to: (unassigned)
- Reported by: Korath
- Reporter's tickets: List all tickets
- Reported on: 26 May 2015, 22:05
- Last visited by Korath » 04 Mar 2016, 20:38.