Class ElementalEffect
Default implementation of the BaseElementalEffect. The constructor allows the caller to specify what type of
damage is done, how much is done and the speed (time) between each instance of damage (default 1 = every second).
Inheritance
System.Object
ElementalEffect
Assembly: Assembly-CSharp.dll
Syntax
public class ElementalEffect : BaseElementalEffect, IEquatable<BaseElementalEffect>
Constructors
ElementalEffect(Single, StatSystem.DamageType, Int32, Single)
Declaration
public ElementalEffect(float duration, StatSystem.DamageType damageType, int damage, float speed = 1F)
Parameters
Type |
Name |
Description |
System.Single |
duration |
|
StatSystem.DamageType |
damageType |
|
System.Int32 |
damage |
|
System.Single |
speed |
|
Methods
Applied(CharacterData)
Declaration
public override void Applied(CharacterData target)
Parameters
Overrides
Equals(BaseElementalEffect)
Declaration
public override bool Equals(BaseElementalEffect other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
Removed()
Declaration
public override void Removed()
Overrides
Update(StatSystem)
Declaration
public override void Update(StatSystem statSystem)
Parameters
Overrides