Exemplo n.º 1
0
//    heldenfähigkeit/\nerhaltet 2 rüstung.

		public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice)
		{
            if (ownplay)
            {
                p.minionGetArmor(p.ownHero, 2);
            }
            else
            {
                p.minionGetArmor(p.enemyHero, 2);
            }
		}
Exemplo n.º 2
0
        //   Battlecry:</b> Gain 5 Armor.

        public override void getBattlecryEffect(Playfield p, Minion own, Minion target, int choice)
        {
            if (own.own)
            {
                p.minionGetArmor(p.ownHero, 5);
            }
            else
            {
                p.minionGetArmor(p.enemyHero, 5);
            }
        }
Exemplo n.º 3
0
//    erhaltet 5 rüstung. zieht eine karte.
		public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice)
		{
            if (ownplay)
            {
                p.minionGetArmor(p.ownHero, 5);
            }
            else
            {
                p.minionGetArmor(p.enemyHero, 5);
            }
            p.drawACard(CardDB.cardIDEnum.None, ownplay);
		}
Exemplo n.º 4
0
//    erhaltet jedes mal 1 rüstung, wenn ein befreundeter diener schaden erleidet.

        public override void onMinionGotDmgTrigger(Playfield p, Minion triggerEffectMinion, bool ownDmgdmin)
        {
            if (triggerEffectMinion.own == ownDmgdmin)
            {
                if (triggerEffectMinion.own)
                {
                    p.minionGetArmor(p.ownHero, 1);
                }
                else
                {
                    p.minionGetArmor(p.enemyHero, 1);
                }
            }
        }
Exemplo n.º 5
0
//    Whenever a friendly minion takes damage, gain 1 Armor.

        public override void onMinionGotDmgTrigger(Playfield p, Minion m, bool ownDmgdmin)
        {
            if (m.own)
            {
                for(int i = 0;i< p.tempTrigger.ownMinionsGotDmg;i++)
                {
					p.minionGetArmor(p.ownHero, 1);
                }
            }
            else
            {
                for (int i = 0; i < p.tempTrigger.enemyMinionsGotDmg; i++)
                {
                    p.minionGetArmor(p.enemyHero, 1);
                }
            }
        }
Exemplo n.º 6
0
        //   Deal $3 damage. Gain 3 Armor.

        public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice)
        {
            if (target != null)
            {
                int dmg = (ownplay) ? p.getSpellDamageDamage(3) : p.getEnemySpellDamageDamage(3);
                p.minionGetDamageOrHeal(target, dmg);
            }
            p.minionGetArmor((ownplay) ? p.ownHero : p.enemyHero, 3);
        }