Namespace: CreepyTowers.Stats
Assembly: CreepyTowers (in CreepyTowers.exe) Version: 1.1.1.0 (1.1.1)
Tests: CreepyTowers.Tests.Stats.StatTests
1 unit tests call CreepyTowers.Stats.Stat.RemoveBuff(CreepyTowers.Stats.BuffEffect)
Assembly: CreepyTowers (in CreepyTowers.exe) Version: 1.1.1.0 (1.1.1)
Syntax
Parameters
- effect
- Type: CreepyTowers.Stats BuffEffect
Remarks
Examples
[Test] public void RemoveBuff() { stat.ApplyBuff(new BuffEffect("TestHpBuff")); stat.RemoveBuff(new BuffEffect("TestHpBuff")); Assert.AreEqual(100.0f, stat.Value); Assert.AreEqual(100.0f, stat.MaxValue); }
See Also