OpenEnroth 73e68f7
|
#include "Engine/Conditions.h"
#include <cassert>
#include "Engine/Engine.h"
#include "Engine/Party.h"
Classes | |
struct | ConditionEquipment |
struct | ConditionTableEntry |
Enumerations | |
enum class | ConditionFlag { AFFECTED_BY_PROTECTION_FROM_MAGIC = 0x1 , REQUIRES_GM_PROTECTION_FROM_MAGIC = 0x2 } |
Functions | |
static bool | blockConditionWithProtectionFromMagic (const ConditionTableEntry &entry) |
bool | blockCondition (Character *character, Condition condition) |
const std::array< Condition, 18 > & | conditionImportancyTable () |
Variables | |
static constexpr IndexedArray< ConditionTableEntry, CONDITION_CURSED, CONDITION_ZOMBIE > | conditionArray |
static std::array< Condition, 18 > | conditionImportancyTableDefault |
static std::array< Condition, 18 > | conditionImportancyTableAlternative |
|
strong |
character | Character that's about to receive a condition. |
condition | Condition in question. |
|
static |
const std::array< Condition, 18 > & conditionImportancyTable | ( | ) |
|
staticconstexpr |
|
static |
|
static |