Holds which attribute this buff affects, how much it affects it, and how long the buff lasts
View code on GitHub
Namespace: CreepyTowers.StatsAssembly: CreepyTowers (in CreepyTowers.exe) Version: 1.1.1.0 (1.1.1)
Syntax
The BuffEffect type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | BuffEffect | Initializes a new instance of the BuffEffect class |
Properties
Name | Description | |
---|---|---|
![]() | Addition | |
![]() | Attribute | |
![]() | Duration | |
![]() | Multiplier |
Remarks
Examples
[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