bool CheckActiveEffect(InvestigatorTurn investigatorTurn) { if (ThisCard.CurrentZone != investigatorTurn.ActiveInvestigator.Assets) { return(false); } return(true); }
protected virtual bool CheckPlayCardFromHand(InvestigatorTurn investigatorTurn) { if (ThisCard.CurrentZone != investigatorTurn.ActiveInvestigator.Hand) { return(false); } return(true); }
bool CanBeInvestigated(InvestigatorTurn investigatorTurn) { if (!ThisCard.MyOwnZone.ListCards.Contains(investigatorTurn.ActiveInvestigator.PlayCard)) { return(false); } return(true); }
bool CheckCanBeEvade(InvestigatorTurn investigatorTurn) { if (InvestigatorEnganged != investigatorTurn.ActiveInvestigator) { return(false); } return(true); }
bool CheckCanBeAttacked(InvestigatorTurn investigatorTurn) { if (CurrentLocation != investigatorTurn.ActiveInvestigator.CurrentLocation) { return(false); } return(true); }
bool CheckActiveEffect(InvestigatorTurn investigatorTurn) { if (ThisCard.CurrentZone != investigatorTurn.ActiveInvestigator.Assets) { return(false); } if (ThisCard.ResourcesToken.Amount < 1) { return(false); } return(true); }
bool CheckCanBeEngangedByInvestigator(InvestigatorTurn investigatorTurn) { if (CurrentLocation != investigatorTurn.ActiveInvestigator.CurrentLocation) { return(false); } if (InvestigatorEnganged == investigatorTurn.ActiveInvestigator) { return(false); } return(true); }
bool CheckToParley(InvestigatorTurn investigatorTurn) { if (!ThisCard.IsInPlay) { return(false); } if (((CardEnemy)ThisCard.CardLogic).CurrentLocation != investigatorTurn.ActiveInvestigator.CurrentLocation) { return(false); } return(true); }
protected virtual bool PlayingCard(InvestigatorTurn investigatorturn) { if (GameControl.ActiveInvestigator != ThisCard.VisualOwner) { return(false); } if (!CheckPlayedFromHand()) { return(false); } return(true); }
bool CheckPlayCardInGame(InvestigatorTurn investigatorTurn) { if (!ThisCard.IsInPlay) { return(false); } if (ThisCard.VisualOwner != GameControl.ActiveInvestigator) { return(false); } return(true); }
bool Discard(InvestigatorTurn investigatorTurn) { if (!ThisCard.IsInPlay) { return(false); } if (Investigator.CurrentLocation != investigatorTurn.ActiveInvestigator.CurrentLocation) { return(false); } return(true); }
/*****************************************************************************************/ protected override void BuildingCardEffect(InvestigatorTurn investigatorTurn) { base.BuildingCardEffect(investigatorTurn); throwAttack = new CardEffect( card: ThisCard, effect: ThrowThisWeapon, animationEffect: ThrowFightAnimation, payEffect: PayThrowEffect, cancelEffect: CancelThrowEffect, type: EffectType.Activate | EffectType.Fight, name: "Lanzar " + ThisCard.Info.Name, actionCost: 1, investigatorImageCardInfoOwner: ThisCard.VisualOwner); investigatorTurn.CardEffects.Add(throwAttack); }
protected virtual void BuildingCardEffect(InvestigatorTurn investigatorTurn) { weaponCardEffect = new CardEffect( card: ThisCard, effect: FightWithThisWeapon, payEffect: PayCostEffect, animationEffect: FightEffectAnimation2, cancelEffect: CancelCardEffect, type: EffectType.Activate | EffectType.Fight, name: "Atacar con " + ThisCard.Info.Name, actionCost: ActionsCost, investigatorImageCardInfoOwner: ThisCard.VisualOwner ); investigatorTurn.CardEffects.Add(weaponCardEffect); }
bool CheckPlayCardInGame(InvestigatorTurn investigatorTurn) { if (!ThisCard.IsInPlay) { return(false); } if (ThisCard.VisualOwner != investigatorTurn.ActiveInvestigator) { return(false); } if (!ThisCard.VisualOwner.Assets.ListCards.Exists(c => c.CardType == CardType.Asset && c.KeyWords.Contains("Spell"))) { return(false); } return(true); }
protected override bool PlayingCard(InvestigatorTurn investigatorturn) { if (!CheckPlayedFromHand()) { return(false); } if (GameControl.ActiveInvestigator != ThisCard.VisualOwner) { return(false); } if (ThisCard.VisualOwner.AllEnemiesInMyLocation.FindAll(c => ((CardEnemy)c.CardLogic).CanBeEvaded).Count < 1) { return(false); } return(true); }
bool CheckInvestigate(InvestigatorTurn investigatorTurn) { if (ThisCard.CurrentZone != investigatorTurn.ActiveInvestigator.Assets) { return(false); } if (investigatorTurn.ActiveInvestigator != ThisCard.VisualOwner) { return(false); } if (ThisCard.ResourcesToken.Amount < 1) { return(false); } return(true); }
bool CanTakeHorror(InvestigatorTurn investigatorTurn) { if (!ThisCard.IsInPlay) { return(false); } if (ThisCard.VisualOwner.CurrentLocation != investigatorTurn.ActiveInvestigator.CurrentLocation) { return(false); } if (ThisCard.SanityToken.Amount < 1) { return(false); } return(true); }
protected override bool PlayingCard(InvestigatorTurn investigatorturn) { if (!CheckPlayedFromHand()) { return(false); } if (investigatorturn.ActiveInvestigator != ThisCard.VisualOwner) { return(false); } if (ThisCard.VisualOwner.AllEnemiesInMyLocation.Count < 1) { return(false); } return(true); }
bool CheckFightWithThisWeapon(InvestigatorTurn investigatorTurn) { if (!ThisCard.IsInPlay) { return(false); } if (investigatorTurn.ActiveInvestigator != ThisCard.VisualOwner) { return(false); } if (FightWithThisEnemies.Count < 1) { return(false); } if (NeedResources && ThisCard.ResourcesToken.Amount < 1) { return(false); } return(true); }
bool CanParlayWithLita(InvestigatorTurn investigatorTurn) { if (!ThisCard.IsInPlay) { return(false); } if (!IsRevealed) { return(false); } if (Lita.Owner != null) { return(false); } if (Lita.CurrentZone != investigatorTurn.ActiveInvestigator.PlayCard.CurrentZone) { return(false); } return(true); }