 
 makeCard 'Silk Road', c.Estate, {
   cost: 4
-  getVP: (state) -> Math.floor(state.current.countCardTypeInDeck('Victory') / 4)
+  getVP: (player) -> Math.floor(player.countCardTypeInDeck('Victory') / 4)
 }
 
 # Revealing Tunnel for Gold as it is discarded is automatic.


makeCard 'Gardens', c.Estate, {
  cost: 4
  getVP: (state) -> Math.floor(state.current.getDeck().length / 10)
}

makeCard 'Great Hall', c.Estate, {

  getCoins: (state) -> this.coins
  getBuys: (state) -> this.buys
  getTrash: (state) -> this.trash
  getVP: (player) -> this.vp
  
  # getPotion says whether the card provides a potion. There is only one
  # card for which this is true, which is Potion.
