BuffEffect Addition Property Delta Engine Documentation

Namespace: CreepyTowers.Stats
Assembly: CreepyTowers (in CreepyTowers.exe) Version: 1.1.1.0 (1.1.1)
Syntax

public float Addition { get; }

Property Value

Type: Single
Remarks

Tests: CreepyTowers.Tests.Stats.BuffEffectTests
Examples

1 unit tests call CreepyTowers.Stats.BuffEffect.Addition
[Test]
public void SettingsConstructor()
{
    var goldBuff = new BuffEffect("TestGoldBuff");
    Assert.AreEqual("Gold", goldBuff.Attribute);
    Assert.AreEqual(2.0f, goldBuff.Multiplier);
    Assert.AreEqual(-3.0f, goldBuff.Addition);
    Assert.AreEqual(5.0f, goldBuff.Duration);
}
See Also