Esempio n. 1
0
        protected override void ActiveEffect(CharacterStats player, Stats enemy)
        {
            Buff el = new ArmourBuff(buffName, buffArmour);

            el = Buff.AddBuff(el, player) as Buff;
            el.SetStacks();

            Console.WriteLine($"Using {Name} increaeses your Armour by {buffArmour}.\n");
        }
Esempio n. 2
0
        protected override void ActiveEffect(CharacterStats player, Stats enemy)
        {
            Buff eth = new ArmourBuff(buffName, buffArmour, buffDuration, Constants.RuneBuffStacks);

            eth = Buff.AddBuff(eth, enemy) as Buff;
            eth.SetStacks();

            Menu.Announce($"Using {Name} decreases {enemy.OwnerUnit.Name}'s Armour by {Math.Abs(buffArmour)} for {buffDuration} turns.");
            eth.WriteEnemyStacks(enemy.OwnerUnit.Name);
        }