Exemplo n.º 1
0
 void player_BridgePlayed(object sender, CostComputeEventArgs e)
 {
     e.Cost.Coin -= 1;
 }
Exemplo n.º 2
0
		void player_HighwayInPlayArea(object sender, CostComputeEventArgs e)
		{
			e.Cost.Coin -= 1;
		}
Exemplo n.º 3
0
		void player_PrincessInPlayArea(object sender, CostComputeEventArgs e)
		{
			e.Cost.Coin -= 2;
		}
Exemplo n.º 4
0
		void player_QuarryInPlayArea(object sender, CostComputeEventArgs e)
		{
			if ((e.Card.Category & Cards.Category.Action) == Cards.Category.Action)
				e.Cost.Coin -= 2;
		}
Exemplo n.º 5
0
		void peddler_CostCompute(object sender, CostComputeEventArgs e)
		{
			if (e.Card != this)
				return;

			Game game = sender as Game;
			if (game.ActivePlayer != null && 
				(game.ActivePlayer.Phase == PhaseEnum.Buy || game.ActivePlayer.Phase == PhaseEnum.BuyTreasure))
			{
				int actionCardsInPlay = game.ActivePlayer.InPlay[Cards.Category.Action].Count + game.ActivePlayer.SetAside[Cards.Category.Action].Count;
				e.Cost.Coin -= 2 * actionCardsInPlay;
			}
		}
Exemplo n.º 6
0
		void player_BridgePlayed(object sender, CostComputeEventArgs e)
		{
			e.Cost.Coin -= 1;
		}
Exemplo n.º 7
0
 void player_PrincessInPlayArea(object sender, CostComputeEventArgs e)
 {
     e.Cost.Coin -= 2;
 }