Classes | |
struct | individual_effect |
class | effect |
Enumerations | |
enum | value_modifier { NOT_USED , SET , ADD , MUL , DIV } |
enum | EFFECTS { EFFECT_DEFAULT =1 , EFFECT_CUMULABLE =2 , EFFECT_WITHOUT_CLAMP_MIN_MAX =3 } |
Functions | |
bool | filter_base_matches (const config &cfg, int def) |
Enumerator | |
---|---|
EFFECT_DEFAULT | |
EFFECT_CUMULABLE | |
EFFECT_WITHOUT_CLAMP_MIN_MAX |
Definition at line 28 of file abilities.hpp.
Enumerator | |
---|---|
NOT_USED | |
SET | |
ADD | |
MUL | |
DIV |
Definition at line 26 of file abilities.hpp.
bool unit_abilities::filter_base_matches | ( | const config & | cfg, |
int | def | ||
) |
Definition at line 2411 of file abilities.cpp.
References config_attribute_value::empty(), config::optional_child(), and config_attribute_value::to_int().
Referenced by unit_abilities::effect::effect(), unit_type::resistance_filter_matches(), and unit::resistance_filter_matches().