Class FixedDamageOverTimeEffect
Damages the owner of the buff with a fixed amount of damage.
Inherited Members
Namespace: AutoBattleFramework.Skills
Assembly: cs.temp.dll.dll
Syntax
public class FixedDamageOverTimeEffect : BuffEffect
Fields
color
Displayed color of the damage. Will override EffectColor.
Declaration
public Color color
Field Value
Type | Description |
---|---|
Color |
Damage
Amount of damage to be applied.
Declaration
public float Damage
Field Value
Type | Description |
---|---|
Single |
Tick
How often damage is applied, in seconds.
Declaration
public float Tick
Field Value
Type | Description |
---|---|
Single |
Methods
OnBuffEnd(BuffEffectInfo)
On buff end, does nothing.
Declaration
protected override void OnBuffEnd(BuffEffectInfo info)
Parameters
Type | Name | Description |
---|---|---|
BuffEffectInfo | info |
Overrides
OnBuffStart(BuffEffectInfo)
Set AutoBattleFramework.Skills.FixedDamageOverTimeEffect.lastTick to zero.
Declaration
protected override void OnBuffStart(BuffEffectInfo info)
Parameters
Type | Name | Description |
---|---|---|
BuffEffectInfo | info |
Overrides
OnBuffUpdate(BuffEffectInfo)
If the elapsed time since the last tick is greater, it damages the owner of the buff.
Declaration
protected override void OnBuffUpdate(BuffEffectInfo info)
Parameters
Type | Name | Description |
---|---|---|
BuffEffectInfo | info |
Overrides
OnRepeatedBuff(BuffEffectInfo)
Does nothing when the buff is applied again.
Declaration
protected override void OnRepeatedBuff(BuffEffectInfo info)
Parameters
Type | Name | Description |
---|---|---|
BuffEffectInfo | info |