How a status effect modifier attack or item can act.
More...
#include <GameData.h>
|
static std::string | to_string (const unsigned int id) |
| Retrieves a descriptive string from an mode ID. More...
|
|
|
static const unsigned int | INFLICT = 0 |
| Inflicts status changes. More...
|
|
static const unsigned int | CURE = 1 |
| Cures status changes. More...
|
|
static const unsigned int | TOGGLE = 2 |
| Toggles status changes. More...
|
|
How a status effect modifier attack or item can act.
◆ to_string()
static std::string GameData::STATUS_EFFECT_MODE::to_string |
( |
const unsigned int |
id | ) |
|
|
inlinestatic |
Retrieves a descriptive string from an mode ID.
- Parameters
-
- Returns
- Mode lowercase description. "unknown_effect_mode" for unknown modes.
◆ CURE
const unsigned int GameData::STATUS_EFFECT_MODE::CURE = 1 |
|
static |
◆ INFLICT
const unsigned int GameData::STATUS_EFFECT_MODE::INFLICT = 0 |
|
static |
◆ TOGGLE
const unsigned int GameData::STATUS_EFFECT_MODE::TOGGLE = 2 |
|
static |
Toggles status changes.
If the target doesn't have the status change, inflict it. If the target already has the status change, cure it.
The documentation for this class was generated from the following file: