Agent GetStatBaseValue Method Delta Engine Documentation

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

public float GetStatBaseValue(
	string attribute
)

Return Value

Type: Single
Remarks

Tests: CreepyTowers.Tests.AgentTests
Examples

1 unit tests call CreepyTowers.Agent.GetStatBaseValue(System.String)
[Test]
public void ApplyBuff()
{
    creep.ApplyBuff(new BuffEffect("TestHpBuff"));
    Assert.AreEqual(304.0, creep.GetStatValue("Hp"));
    Assert.AreEqual(100.0, creep.GetStatBaseValue("Hp"));
    Assert.AreEqual(1.0, creep.GetStatPercentage("Hp"));
}
See Also