Changeset 37548
- Timestamp:
- 05/15/10 15:09:18 (3 years ago)
- Location:
- lang/csharp/DominionEngine/DominionEngine.CardInfo.Base
- Files:
-
- 3 modified
-
NotImplemented/Moat.cs (modified) (2 diffs)
-
NotImplemented/ThroneRoom.cs (modified) (1 diff)
-
Remodel.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/csharp/DominionEngine/DominionEngine.CardInfo.Base/NotImplemented/Moat.cs
r37522 r37548 12 12 public void Action() 13 13 { 14 //Player.Card += 2;14 Player.Card += 2; 15 15 } 16 16 17 17 public bool CanReaction() 18 18 { 19 //When another player plays an Attack card 19 //When another player plays an Attack card you may reveal this from your hand. 20 20 return false; 21 21 } … … 23 23 public void Reaction() 24 24 { 25 // you may reveal this from your hand.If you do, you are unaffected by that Attack.25 //If you do, you are unaffected by that Attack. 26 26 } 27 27 } -
lang/csharp/DominionEngine/DominionEngine.CardInfo.Base/NotImplemented/ThroneRoom.cs
r37522 r37548 12 12 public void Action() 13 13 { 14 //var playCard = Choose.FromHand(1, 0, cardInfo => cardInfo.Type.Is(CardType.Action)).First(); 14 //Choose an Action card in your hand. Play it twice. 15 var playCard = Player.Choose<IAction>(CardPosition.Hand).First(); 15 16 16 17 //playCard.Action(); -
lang/csharp/DominionEngine/DominionEngine.CardInfo.Base/Remodel.cs
r37530 r37548 13 13 { 14 14 // Trash a card from your hand. 15 var trashCard = Player.Choose(CardPosition.Hand) ;15 var trashCard = Player.Choose(CardPosition.Hand).First(); 16 16 trashCard.Trash(); 17 17 18 18 // Gain a card costing up to (2) more than the trashed card. 19 Worth gainMaxCost = trashCard. First().CardInfo.Cost + Worth.Coin(2);19 Worth gainMaxCost = trashCard.CardInfo.Cost + Worth.Coin(2); 20 20 Player.Gain(CostingUpTo(gainMaxCost)); 21 21 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)