A charm that modifies the accuracy of a dueler's next action. More...
Public Member Functions | |
| AccuracyCharm (string name, int element, int modifier) | |
| override void | Activate (Dueler dueler) |
| The activate method is called to apply the effect to the Dueler. | |
| override void | Deactivate (Dueler dueler) |
| The deactivate method is called to remove the effect from the Dueler. | |
| override float | CalculateModifier (float value) |
| Calculate the modifier based on the given value. | |
Public Member Functions inherited from CardRPG.Charm | |
| Charm (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 | |
| override Sprite | Sprite [get] |
| The sprite representing the effect. | |
Properties inherited from CardRPG.Charm | |
| 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 charm that modifies the accuracy of a dueler's next action.
|
inline |
The activate method is called to apply the effect to the Dueler.
| dueler |
Implements CardRPG.IHangingEffect.
|
inline |
Calculate the modifier based on the given value.
| value |
Implements CardRPG.ITriggerEffect.
|
inline |
The deactivate method is called to remove the effect from the Dueler.
| dueler |
Implements CardRPG.IHangingEffect.
|
get |
The sprite representing the effect.
Implements CardRPG.IHangingEffect.