Effect Structure |
Namespace: Kit.Containers
The Effect type exposes the following members.
| Name | Description | |
|---|---|---|
| Effect(String, String) | Create a new Effect. | |
| Effect(String, EffectType, Single) | Create a new Effect. |
| Name | Description | |
|---|---|---|
| Convert | Converts the EffectType and value to a human-readable string. | |
| Parse | Converts a string to EffectType and value. "x" at the beginning of a string translates to Multiplier, a string ending with "%" means Percentage, while neither of those means Constant. Rest of the string should be a number denoting the value. | |
| ToString | (Overrides ValueTypeToString.) |
| Name | Description | |
|---|---|---|
| Stat | The stat to which the change should apply. | |
| Type | How does it change the value? | |
| Value | The amount of change. |