Dominion Strategy Forum

Please login or register.

Login with username, password and session length
Pages: [1]

Author Topic: Develop @ Geronimoo's sim  (Read 1740 times)

0 Members and 1 Guest are viewing this topic.

DStu

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2627
  • Respect: +1490
    • View Profile
Develop @ Geronimoo's sim
« on: April 16, 2012, 11:00:14 am »
0

Why isn't it gaining Silver?

Code: [Select]
<player name="Develop wtf?"
 author="DStu"
 description="No description available">
 <type name="Bot"/>
 <type name="Province"/>
 <type name="UserCreated"/>
 <type name="TwoPlayer"/>
   <buy name="Province"/>
   <buy name="Bank">
      <condition>
         <left type="isActionPhase"/>
         <operator type="equalTo" />
         <right type="constant" attribute="0.0"/>
      </condition>
   </buy>
   <buy name="Gold"/>
   <buy name="Wharf"/>
   <buy name="Develop">
      <condition>
         <left type="countCardsInDeck" attribute="Develop"/>
         <operator type="equalTo" />
         <right type="constant" attribute="0.0"/>
      </condition>
   </buy>
   <buy name="Silver"/>
   <buy name="Cellar">
      <condition>
         <left type="countCardsInDeck" attribute="Cellar"/>
         <operator type="equalTo" />
         <right type="constant" attribute="0.0"/>
      </condition>
   </buy>
</player>

Code: [Select]
*** Develop wtf?(Plr 2)'s turn 5 ***
   Develop wtf?(Plr 2)'s cards in Hand: [Copper, Copper, Develop, Silver, Estate]
   Develop wtf?(Plr 2) resolves duration effect from Wharf
   Develop wtf?(Plr 2) gets +1 buys
   Develop wtf?(Plr 2) draws 2 cards
   Develop wtf?(Plr 2)'s cards in Hand: [Copper, Copper, Develop, Silver, Estate, Copper, Estate]
   Develop wtf?(Plr 2) plays Develop
   ... Develop wtf?(Plr 2) trashes a Estate
   ... Develop wtf?(Plr 2) puts Masquerade on top of the deck    <<<<<<<<<<<<<<<<<<<
   Develop wtf?(Plr 2) plays 3 Coppers
   Develop wtf?(Plr 2) plays 1 Silver
   Develop wtf?(Plr 2) has $5 to spend and 2 buys
   Develop wtf?(Plr 2) buys a Wharf
   Develop wtf?(Plr 2) buys NOTHING!
   Develop wtf?(Plr 2) draws 5 cards
   Develop wtf?(Plr 2)'s cards in Hand: [Masquerade, Cellar, Copper, Estate, Copper]
« Last Edit: April 16, 2012, 11:03:28 am by DStu »
Logged

DG

  • Governor
  • *****
  • Offline Offline
  • Posts: 4074
  • Respect: +2624
    • View Profile
Re: Develop @ Geronimoo's sim
« Reply #1 on: April 16, 2012, 11:30:35 am »
0

I think we'll find a few of these over the next week.

cards in Hand: Menagerie, Ironworks, Menagerie, Chapel, Menagerie
plays Chapel
has $0 to spend and 1 buy
buys NOTHING!

Maybe I shouldn't follow up on that idea. I also tried an apprentice/horse traders/tunnel combo that failed utterly when the apprentice kept trashing the tunnel and horse traders :) .
« Last Edit: April 16, 2012, 11:35:01 am by DG »
Logged

DStu

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2627
  • Respect: +1490
    • View Profile
Re: Develop @ Geronimoo's sim
« Reply #2 on: April 16, 2012, 11:40:35 am »
0

The point is I really expected it is not easy to build an bot with Develop. But why does it gain a card which is not in the buyrules for $3, when there is Silver in buy-rules?
Logged

Geronimoo

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1059
  • Respect: +868
    • View Profile
    • Geronimoo's Dominion Simulator
Re: Develop @ Geronimoo's sim
« Reply #3 on: April 16, 2012, 01:59:58 pm »
0

Develop is bugged. It will gain the "best card in the supply according to trash priority" so it won't even look in your buy rules.

@DG: the Menagerie bug doesn't surprise me a lot. I added logic to the Menagerie code so it either gets played as fast as possible for 3 cards or waits until it can draw 3 cards. There's probably some flaw in there.
Logged
Pages: [1]
 

Page created in 0.075 seconds with 20 queries.