public override void Effect() { GameObject target = this.myFSM.GetFsmGameObject("Target").Value; AM.AddActionOnBottom(new FoldHandCardAction(target)); AM.AddActionOnBottom(new DrawCardAction(2)); }
public override void Effect() { GameObject target = this.myFSM.GetFsmGameObject("Target").Value; AM.AddActionOnBottom(new AddBuffAction(target, new Buff_10000(target.GetComponent <BattleUnitContainer>().BattleUnit, 1))); AM.AddActionOnBottom(new AttackAction(BM.PlayerGO, target, PlayerUnit.Attack)); }
public override void Effect() { GameObject target = this.myFSM.GetFsmGameObject("Target").Value; AM.AddActionOnBottom(new AttackAction(BM.PlayerGO, target, PlayerUnit.Attack)); AM.AddActionOnBottom(new AttackAction(BM.PlayerGO, target, PlayerUnit.Attack)); }
public override void Effect() { AM.AddActionOnBottom(new DrawCardAction(1)); ChooseTargetAction action = new ChooseCardTargetAction(); AM.AddActionOnBottom(action); AM.AddActionOnBottom(new MoveCardToDrawPile(action, 0)); }
public override void Effect() { AM.AddActionOnBottom(new DrawCardAction(1)); CallComboEffect(delegate() { AM.AddActionOnBottom(new DrawCardAction(1)); }); // if (CardManager._instance.UsedCardCount >= 2) // { // AM.AddActionOnBottom(new DrawCardAction(1)); // } }
public override void Effect() { GameObject target = this.myFSM.GetFsmGameObject("Target").Value; AM.AddActionOnBottom(new AttackAction(BM.PlayerGO, target, PlayerUnit.Attack)); CallComboEffect(delegate() { AM.AddActionOnBottom(new DrawCardAction(1)); }); // if (CardManager._instance.UsedCardCount >= 2) // { // AM.AddActionOnBottom(new DrawCardAction(1)); // } }
public override void Effect() { GameObject target = this.myFSM.GetFsmGameObject("Target").Value; CallComboEffect(delegate() { AM.AddActionOnBottom(new AddBuffAction(target, new Buff_10000(target.GetComponent <BattleUnitContainer>().BattleUnit, 1))); }); // if (CardManager._instance.UsedCardCount >= 2) // { // AM.AddActionOnBottom(new AddBuffAction(target, new Buff_10000(target.GetComponent<BattleUnitContainer>().battleUnit, 1))); // } AM.AddActionOnBottom(new AttackAction(BM.PlayerGO, target, PlayerUnit.Attack)); }
public override void Effect() { GameObject target = this.myFSM.GetFsmGameObject("Target").Value; int count = 0; foreach (CardScript item in CM.UsedHistory) { if (item.ID == Param[0]) { count++; } } int attack = Mathf.CeilToInt((1 + count * proveRate) * PlayerUnit.Attack); AM.AddActionOnBottom(new AttackAction(BM.PlayerGO, target, attack)); }
public override void Effect() { AM.AddActionOnBottom(new GenerateCardAction(Param[0], PileName.HandPile)); }
public override void Effect() { GameObject target = BM.PlayerGO; AM.AddActionOnBottom(new GetBarrierAction(target, 10)); }