An effect that applies over time, such as damage over time (DoT) or heal over time (HoT). More...
Public Member Functions | |
| OTEffect (string name, int element, int Modifier, int remainingRounds, bool isBomb=false, int pierce=0) | |
| void | Activate (Dueler dueler) |
| The activate method is called to apply the effect to the Dueler. | |
| IEnumerator | ResolveOTEffects (int rounds, Dueler target) |
| Logic to resolve the over time effects each round. | |
| void | Deactivate (Dueler dueler) |
| The deactivate method is called to remove the effect from the Dueler. | |
Public Attributes | |
| int | remainingRounds |
| The number of rounds remaining for the effect. | |
Properties | |
| string | Name [get, set] |
| The name of the effect. | |
| int | Element [get, set] |
| The element of the effect. | |
| int | Modifier [get, set] |
| The modifier value of the effect, which can be positive or negative. | |
| string | Description [get, set] |
| The description of the effect. | |
| bool | IsBomb [get, set] |
| Indicates if the effect is a bomb (applies all damage at once after specific rounds). | |
| int | Pierce [get] |
| The pierce value of the effect. | |
| Sprite | Sprite [get] |
| The sprite representing the effect. | |
An effect that applies over time, such as damage over time (DoT) or heal over time (HoT).
|
inline |
The activate method is called to apply the effect to the Dueler.
| dueler |
Implements CardRPG.IHangingEffect.
|
inline |
The deactivate method is called to remove the effect from the Dueler.
| dueler |
Implements CardRPG.IHangingEffect.
|
inline |
Logic to resolve the over time effects each round.
| rounds | |
| target |
|
getset |
The description of the effect.
Implements CardRPG.IHangingEffect.
|
getset |
The element of the effect.
Implements CardRPG.IHangingEffect.
|
getset |
The modifier value of the effect, which can be positive or negative.
Implements CardRPG.IHangingEffect.
|
getset |
The name of the effect.
Implements CardRPG.IHangingEffect.
|
get |
The sprite representing the effect.
Implements CardRPG.IHangingEffect.