676
Game Reports / Re: Another thing can beat Rebuild: Courtyard-Hoard
« on: December 20, 2013, 03:54:23 pm »Holger, can you post the Dominate code? I would be interested in looking at what you are running. Thanks!(FTFY)
Here it is; I've just added the Hoard and Harem lines to the existing OBM Courtyard code, and now made the "second" Duchy gain priority unconditional. (Remove the Harem line to get "my" CY-Hoard BM.)
Code: [Select]
{
name: 'OBM Courtyard'
author: 'HiveMindEmulator'
requires: ['Courtyard', 'Hoard', 'Harem']
gainPriority: (state, my) -> [
"Province" if my.countInDeck("Gold") > 0
"Duchy" if state.gainsToEndGame() <= 4
"Estate" if state.gainsToEndGame() <= 2
"Hoard" if my.countInDeck("Hoard") == 0
"Harem"
"Gold"
"Duchy" #if state.gainsToEndGame() <= 5
"Silver" if my.countInDeck("Silver") == 0
"Courtyard" if my.countInDeck("Courtyard") == 0
"Courtyard" if my.countInDeck("Courtyard") < my.countCardTypeInDeck("treasure") / 8
"Silver"
"Courtyard" if my.countInDeck("Courtyard") <= 1
]
}