1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00

map editor: Allow to customize hero spells

This commit is contained in:
godric3
2024-03-24 10:01:20 +01:00
parent a373ec6743
commit acceca0139
8 changed files with 469 additions and 7 deletions

View File

@ -83,6 +83,8 @@ CIdentifierStorage::CIdentifierStorage()
registerObject(ModScope::scopeBuiltin(), "bonusSubtype", "creatureLevel5", 5);
registerObject(ModScope::scopeBuiltin(), "bonusSubtype", "creatureLevel6", 6);
registerObject(ModScope::scopeBuiltin(), "bonusSubtype", "creatureLevel7", 7);
registerObject(ModScope::scopeBuiltin(), "spell", "preset", SpellID::PRESET);
registerObject(ModScope::scopeBuiltin(), "spell", "spellbook_preset", SpellID::SPELLBOOK_PRESET);
}
void CIdentifierStorage::checkIdentifier(std::string & ID)