GW card drop rate question

Discussion in 'Mod Discussions' started by meir22344, June 28, 2014.

  1. meir22344

    meir22344 Active Member

    Messages:
    258
    Likes Received:
    112
    Does any one know how to change the drop rate of certain cards in Galactic War and how to add prerequisites on what cards appear???
  2. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Each card (ui/main/game/galactic_war/cards/) has a deal function that returns a chance; you can think of chance as how many of the card are in the deck (500 is a common card). Chances are with replacement, so picking a card doesn't make it less likely. There are exceptions, notably slots and subcommanders (gwc_minion) which use the keep and discard functions to modify their probability as they are chosen or not chosen.

    I believe all the dealing is done when the war is started, which makes most of the things you'd want to do with prerequisites difficult. I suppose if you shadowed out some core routines, the behavior could be changed.

Share This Page