Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'allow-candiates' option #40

Open
wants to merge 4 commits into
base: unleashed
Choose a base branch
from

Conversation

dsuchka
Copy link

@dsuchka dsuchka commented Jan 13, 2016

  • allows to include cards regardless of the 'endgame' restriction

Sometimes we have strong unfused cards (usually P2W), that can be included only when endgame value is 0 or option is omitted. However simulation takes too many time...
So, when we know own strong cards, we can simplify cards lookup and omit all unfused cards except some ones (using 'allow-candidates' option).

For instance:

tuo "Petrisis, Sleek Beamshot, Luminous Jester, Vivid Jester, Taser, Bio Equalizer, Deserted Baughe" "Steel Mutant" climb 50000 ordered endgame 1 -e Heroism fund 5000 allow-candidates "Loathe Gravewing, Taser, Duelist"
...
Optimized Deck: 7 units: $1630 2.072: Petrisis, Sleek Beamshot, Luminous Jester, Vivid Jester, Loathe Gravewing, Taser, Zorbo the Master, Bio Equalizer

VS

tuo "Petrisis, Sleek Beamshot, Luminous Jester, Vivid Jester, Taser, Bio Equalizer, Deserted Baughe" "Steel Mutant" climb 50000 ordered endgame 1 -e Heroism fund 5000
...
Optimized Deck: 7 units: $2995 0.834: Daedalus, Sleek Beamshot, Luminous Jester, Bullet Virtuoso, Zorbo the Master, Deserted Baughe, Atlantia, Dune Runner

Evgeniy Kozlov added 4 commits January 13, 2016 14:07
  * allows to include cards regardless of the 'endgame' restriction
  * disallows to include cards (for instance, cards that you don't want to make)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant