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

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

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

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