示例#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");
        }
示例#2
0
文件: EthRune.cs 项目: muqg/Battles
        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);
        }