mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
Implemented #1379
+ added new flag for special spells. Special spells can be obtained only with BONUS::SPELL. * made Titans` thunder special.
This commit is contained in:
@@ -701,7 +701,7 @@ CSpell * CSpellHandler::loadFromJson(const JsonNode& json)
|
||||
logGlobal->errorStream() << "No positiveness specified, assumed NEUTRAL";
|
||||
}
|
||||
|
||||
|
||||
spell->isSpecial = readFlag(flags,"special");
|
||||
|
||||
auto find_in_map = [&](std::string name, std::vector<Bonus::BonusType> &vec)
|
||||
{
|
||||
|
Reference in New Issue
Block a user