Esempio n. 1
0
 bool CheckActAdvance(DefeatCardAction die)
 {
     if (this != GameControl.CurrentAct)
     {
         return(false);
     }
     if (die.CardToDefeat != GhoulPriest.ThisCard)
     {
         return(false);
     }
     return(true);
 }
 bool PlayCard(DefeatCardAction dieAction)
 {
     if (!CheckPlayedFromHand())
     {
         return(false);
     }
     if (GameControl.ActiveInvestigator != ThisCard.VisualOwner)
     {
         return(false);
     }
     if (dieAction.CardToDefeat.CardType != CardType.Enemy)
     {
         return(false);
     }
     if (ThisCard.Owner.CurrentLocation.CluesToken.Amount < 1)
     {
         return(false);
     }
     return(true);
 }
 bool OnDefeatEnemy(DefeatCardAction dieAction)
 {
     if (dieAction.CardToDefeat.CardType != CardType.Enemy)
     {
         return(false);
     }
     if (GameControl.ActiveInvestigator != ThisCard.Owner)
     {
         return(false);
     }
     if (ThisCard.Owner.CurrentLocation.CluesToken.Amount < 1)
     {
         return(false);
     }
     if (effectUsed)
     {
         return(false);
     }
     return(true);
 }