Changeset 37786
- Timestamp:
- 06/02/10 16:46:14 (3 years ago)
- Location:
- lang/csharp/DominionEngine
- Files:
-
- 6 modified
-
DominionEngine.CardInfo.Alchemy/Apprentice.cs (modified) (1 diff)
-
DominionEngine.CardInfo.Alchemy/Transmute.cs (modified) (2 diffs)
-
DominionEngine.CardInfo.Base/Mine.cs (modified) (1 diff)
-
DominionEngine.CardInfo.Base/Moneylender.cs (modified) (1 diff)
-
DominionEngine.CardInfo.Intrigue/Baron.cs (modified) (1 diff)
-
DominionEngine.CardInfo.Intrigue/Upgrade.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/csharp/DominionEngine/DominionEngine.CardInfo.Alchemy/Apprentice.cs
r37782 r37786 15 15 16 16 //Trash a card from your hand. 17 var trashedCard = Player.Choose(new AnyPlayer.ChooseOneOptions(CardPosition.Hand));18 trashedCard.Trash();17 var trashedCard = Trash(new AnyPlayer.ChooseOneOptions(CardPosition.Hand)); 18 if (trashedCard == null) return; 19 19 20 20 //Plus 1 Card per Coin it costs. -
lang/csharp/DominionEngine/DominionEngine.CardInfo.Alchemy/Transmute.cs
r37782 r37786 13 13 { 14 14 // Trash a card from your hand. 15 var trashedCard = Player.Choose(new AnyPlayer.ChooseOneOptions(CardPosition.Hand)); 16 trashedCard.Trash(); 15 var trashedCard = Trash(new AnyPlayer.ChooseOneOptions(CardPosition.Hand)); 17 16 18 17 // If it is an... … … 26 25 else if (trashedCard.CardInfo is IVictory) 27 26 Player.Gain<Gold>(); 28 29 27 } 30 28 } -
lang/csharp/DominionEngine/DominionEngine.CardInfo.Base/Mine.cs
r37782 r37786 13 13 { 14 14 // Trash a Treasure card from your hand. 15 var trashCard = Player.Choose(new AnyPlayer.ChooseOneOptions<ITreasure>(CardPosition.Hand));15 var trashCard = Trash(new AnyPlayer.ChooseOneOptions<ITreasure>(CardPosition.Hand)); 16 16 if (trashCard == null) return; 17 trashCard.Trash();18 17 19 18 // Gain a Treasure card costing up to (3) more; put it into your hand. -
lang/csharp/DominionEngine/DominionEngine.CardInfo.Base/Moneylender.cs
r37782 r37786 13 13 { 14 14 // Trash a Copper from your hand. 15 var trashCard = Player.Choose(new AnyPlayer.ChooseOneOptions<Copper>(CardPosition.Hand));15 var trashCard = Trash(new AnyPlayer.ChooseOneOptions<Copper>(CardPosition.Hand)); 16 16 if (trashCard == null) return; 17 trashCard.Trash();18 17 19 18 // If you do, +3 Coin. -
lang/csharp/DominionEngine/DominionEngine.CardInfo.Intrigue/Baron.cs
r37782 r37786 15 15 16 16 // You may discard an Estate card. 17 var discardCard = Player.Choose(new AnyPlayer.ChooseOneOptions<Estate>(CardPosition.Hand)); 18 discardCard.Discard(); 17 var discardCard = Discard(new AnyPlayer.ChooseOneOptions<Estate>(CardPosition.Hand)); 19 18 20 19 // If you do, +4. Otherwise, gain an Estate card. -
lang/csharp/DominionEngine/DominionEngine.CardInfo.Intrigue/Upgrade.cs
r37782 r37786 16 16 17 17 // Trash a card from your hand. 18 var trashedCard = Player.Choose(new AnyPlayer.ChooseOneOptions(CardPosition.Hand));19 trashedCard.Trash();18 var trashedCard = Trash(new AnyPlayer.ChooseOneOptions(CardPosition.Hand)); 19 if (trashedCard == null) return; 20 20 21 21 // Gain a card costing exactly (1) more than it.
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)