Interface for effects that trigger. More...
Public Member Functions | |
| float | CalculateModifier (float value) |
| Calculate the modifier based on the given value. | |
Public Member Functions inherited from CardRPG.IHangingEffect | |
| 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. | |
Additional Inherited Members | |
Properties inherited from CardRPG.IHangingEffect | |
| string | Name [get, set] |
| The name of the effect. | |
| int | Element [get, set] |
| The element of the effect. | |
| Sprite | Sprite [get] |
| The sprite representing 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. | |
Interface for effects that trigger.
| float CardRPG.ITriggerEffect.CalculateModifier | ( | float | value | ) |
Calculate the modifier based on the given value.
| value |
Implemented in CardRPG.AccuracyCharm, CardRPG.Armor, CardRPG.AttackCharm, CardRPG.Charm, CardRPG.DefenseWard, CardRPG.HealCharm, CardRPG.PierceCharm, CardRPG.Prism, and CardRPG.Ward.