1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Update spell docs

This commit is contained in:
Ivan Savenko
2023-09-23 19:21:12 +03:00
parent ddda6c0c01
commit 403acc0cf1
3 changed files with 159 additions and 142 deletions

View File

@@ -734,7 +734,7 @@ CSpell * CSpellHandler::loadFromJson(const std::string & scope, const JsonNode &
{
if(counteredSpell.second.Bool())
{
VLC->identifiers()->requestIdentifier(counteredSpell.second.meta, counteredSpell.first, [=](si32 id)
VLC->identifiers()->requestIdentifier(counteredSpell.second.meta, "spell", counteredSpell.first, [=](si32 id)
{
spell->counteredSpells.emplace_back(id);
});