mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
- Fix for hero specialties (creature type limiters)
- Improved handling of new heroes / arts, check forum for fresh mod packages :)
This commit is contained in:
@@ -991,9 +991,7 @@ Bonus * JsonUtils::parseBonus (const JsonNode &ability)
|
||||
if (!value->isNull())
|
||||
b->valType = parseByMap(bonusValueMap, value, "value type ");
|
||||
|
||||
value = &ability["additionalInfo"];
|
||||
if (!value->isNull())
|
||||
b->additionalInfo = value->Float();
|
||||
resolveIdentifier (b->additionalInfo, ability, "addInfo");
|
||||
|
||||
value = &ability["turns"];
|
||||
if (!value->isNull())
|
||||
|
||||
Reference in New Issue
Block a user