EnemyBase.ReduceArmor C# (CSharp) Method

ReduceArmor() public method

Reduces the armor.
public ReduceArmor ( int amount, float duration ) : void
amount int Amount to reduce.
duration float Duration of effect.
return void
    public void ReduceArmor(int amount, float duration)
    {
        IBuff buff = new ArmorReduce(this, duration, amount);
        this.debuffs.Add (buff);
    }