1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

documented NEGATIVE_EFFECTS_IMMUNITY, fixed subtype loading

This commit is contained in:
Ivan Savenko
2023-10-28 17:56:11 +03:00
parent 1459006916
commit 1e0ea5f1f0
2 changed files with 8 additions and 1 deletions

View File

@@ -446,6 +446,7 @@ static void loadBonusSubtype(BonusSubtypeID & subtype, BonusType type, const Jso
case BonusType::SPELLS_OF_SCHOOL:
case BonusType::SPELL_DAMAGE_REDUCTION:
case BonusType::SPELL_SCHOOL_IMMUNITY:
case BonusType::NEGATIVE_EFFECTS_IMMUNITY:
{
VLC->identifiers()->requestIdentifier( "spellSchool", node, [&subtype](int32_t identifier)
{