Documentation: HitEffectComponent
Jump to navigation
Jump to search
Name | Type | Initial Value | Example Range | Description |
---|---|---|---|---|
Members | ||||
value | int | 0 | [0, 100] | Usage depends on selected 'effect_hit' |
value_string | std::string | Usage depends on selected 'effect_hit' | ||
Custom data types | ||||
condition_effect | GAME_EFFECT::Enum | NONE | Hit entity needs to have this 'GAME_EFFECT' for effects to apply. If both 'condition_effect' and 'condition_status' are set, they are combined with AND logic | |
condition_status | StatusEffectType | Hit entity needs to have this 'STATUS_EFFECT' for effects to apply | ||
effect_hit | HIT_EFFECT::Enum | NONE | What kind of 'HIT_EFFECT' is applied to hit entity if condition is true |