Skip to content

Commit fdf3925

Browse files
committed
gamestate: resistance definitions.
1 parent cb9fa66 commit fdf3925

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

libopenage/gamestate/api/definitions.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ static const auto ABILITY_DEFS = datastructure::create_const_map<ability_t, nyan
3333
nyan::ValueHolder(std::make_shared<nyan::ObjectValue>("engine.ability.type.RangedContinuousEffect"))),
3434
std::pair(ability_t::RANGED_DISCRETE_EFFECT,
3535
nyan::ValueHolder(std::make_shared<nyan::ObjectValue>("engine.ability.type.RangedDiscreteEffect"))),
36+
std::pair(ability_t::RESISTANCE,
37+
nyan::ValueHolder(std::make_shared<nyan::ObjectValue>("engine.ability.type.Resistance"))),
3638
std::pair(ability_t::IDLE,
3739
nyan::ValueHolder(std::make_shared<nyan::ObjectValue>("engine.ability.type.Idle"))),
3840
std::pair(ability_t::MOVE,

libopenage/gamestate/api/types.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ enum class ability_t {
1313
APPLY_DISCRETE_EFFECT,
1414
RANGED_CONTINUOUS_EFFECT,
1515
RANGED_DISCRETE_EFFECT,
16+
RESISTANCE,
1617
IDLE,
1718
LIVE,
1819
MOVE,

0 commit comments

Comments
 (0)