1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

mithril removal

This commit is contained in:
Laserlicht
2025-09-16 02:07:25 +02:00
parent 3ec731ef6e
commit 7d1e661e6f
16 changed files with 20 additions and 38 deletions

View File

@@ -568,7 +568,7 @@ std::vector<JsonNode> CCreatureHandler::loadLegacyData()
data["name"]["plural"].String() = parser.readString();
for(int v=0; v<7; ++v)
for(int v=0; v<GameConstants::RESOURCE_QUANTITY; ++v)
data["cost"][GameConstants::RESOURCE_NAMES[v]].Float() = parser.readNumber();
data["fightValue"].Float() = parser.readNumber();