Changeset 37548

Show
Ignore:
Timestamp:
05/15/10 15:09:18 (3 years ago)
Author:
isaisstillalive
Message:
  • Base微修正
Location:
lang/csharp/DominionEngine/DominionEngine.CardInfo.Base
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • lang/csharp/DominionEngine/DominionEngine.CardInfo.Base/NotImplemented/Moat.cs

    r37522 r37548  
    1212        public void Action() 
    1313        { 
    14             //Player.Card += 2; 
     14            Player.Card += 2; 
    1515        } 
    1616 
    1717        public bool CanReaction() 
    1818        { 
    19             //When another player plays an Attack card 
     19            //When another player plays an Attack card you may reveal this from your hand. 
    2020            return false; 
    2121        } 
     
    2323        public void Reaction() 
    2424        { 
    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. 
    2626        } 
    2727    } 
  • lang/csharp/DominionEngine/DominionEngine.CardInfo.Base/NotImplemented/ThroneRoom.cs

    r37522 r37548  
    1212        public void Action() 
    1313        { 
    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(); 
    1516 
    1617            //playCard.Action(); 
  • lang/csharp/DominionEngine/DominionEngine.CardInfo.Base/Remodel.cs

    r37530 r37548  
    1313        { 
    1414            // Trash a card from your hand. 
    15             var trashCard = Player.Choose(CardPosition.Hand); 
     15            var trashCard = Player.Choose(CardPosition.Hand).First(); 
    1616            trashCard.Trash(); 
    1717 
    1818            // 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); 
    2020            Player.Gain(CostingUpTo(gainMaxCost)); 
    2121        }