Beispiel #1
0
    public override void Effect()
    {
        GameObject target = this.myFSM.GetFsmGameObject("Target").Value;

        AM.AddActionOnBottom(new FoldHandCardAction(target));
        AM.AddActionOnBottom(new DrawCardAction(2));
    }
Beispiel #2
0
    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));
    }
Beispiel #3
0
    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));
    }
Beispiel #4
0
    public override void Effect()
    {
        AM.AddActionOnBottom(new DrawCardAction(1));
        ChooseTargetAction action = new ChooseCardTargetAction();

        AM.AddActionOnBottom(action);
        AM.AddActionOnBottom(new MoveCardToDrawPile(action, 0));
    }
Beispiel #5
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));
     // }
 }
Beispiel #6
0
    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));
        // }
    }
Beispiel #7
0
    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));
    }
Beispiel #8
0
    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));
    }
Beispiel #9
0
 public override void Effect()
 {
     AM.AddActionOnBottom(new GenerateCardAction(Param[0], PileName.HandPile));
 }
Beispiel #10
0
    public override void Effect()
    {
        GameObject target = BM.PlayerGO;

        AM.AddActionOnBottom(new GetBarrierAction(target, 10));
    }