コード例 #1
0
 public override int AIInEquipExpectation(PGame Game, PPlayer Player)
 {
     return(500 + 4000 * Player.Area.HandCardArea.CardList.FindAll((PCard Card) => {
         PCardModel Model = Card.Model;
         return Model is P_ManTiienKuoHai || Model is P_HsiaoLiTsaangTao || Model is P_ChiaTaoFaKuo;
     }).Count);
 }
コード例 #2
0
 public PCard(PCardModel Prototype) : base(Prototype.Name)
 {
     Model = Prototype;
     Type  = Prototype.Type;
     Point = Prototype.Point;
     Index = Prototype.Index;
     MoveInHandTriggerList  = new List <PTrigger>();
     MoveInEquipTriggerList = new List <PTrigger>();
 }