A class representing a ward effect in the game. More...
Public Member Functions | |
| Ward (string name, int element, int modifier) | |
| void | Activate (Dueler dueler) |
| The activate method is called to apply the effect to the Dueler. | |
| void | Deactivate (Dueler dueler) |
| The deactivate method is called to remove the effect from the Dueler. | |
| float | CalculateModifier (float value) |
| Calculate the modifier based on the given value. | |
Properties | |
| string | Name [get, set] |
| The name of the effect. | |
| int | Element [get, set] |
| The element of the effect. | |
| string | Description [get, set] |
| The description of the effect. | |
| int | Modifier [get, set] |
| The modifier value of the effect, which can be positive or negative. | |
| virtual Sprite | Sprite [get] |
| The sprite representing the effect. | |
A class representing a ward effect in the game.
|
abstract |
The activate method is called to apply the effect to the Dueler.
| dueler |
Implements CardRPG.IHangingEffect.
|
abstract |
Calculate the modifier based on the given value.
| value |
Implements CardRPG.ITriggerEffect.
|
abstract |
The deactivate method is called to remove the effect from the Dueler.
| dueler |
Implements CardRPG.IHangingEffect.
|
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.