1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Restore aiValue for banks - used by VCAI

This commit is contained in:
Tomasz Zieliński 2024-05-05 18:12:38 +02:00
parent d90155b57c
commit 05ced35c58
2 changed files with 16 additions and 2 deletions

View File

@ -13,6 +13,7 @@
{
"index" : 0,
"name" : "Cyclops Stockpile",
"aiValue" : 3000,
"sounds" : {
"ambient" : ["LOOPCAVE"]
},
@ -30,6 +31,7 @@
{ "amount": 4, "type": "cyclop" },
{ "amount": 4, "type": "cyclop" }
],
"reward" : {
"value": 10000,
"resources":
@ -43,6 +45,7 @@
}
}
},
{
"chance": 30,
"guards": [
@ -115,6 +118,7 @@
"index" : 1,
"resetDuration" : 0,
"name" : "Dwarven Treasury",
"aiValue" : 2000,
"sounds" : {
"ambient" : ["LOOPDWAR"]
},
@ -201,6 +205,7 @@
"index" : 2,
"resetDuration" : 0,
"name" : "Griffin Conservatory",
"aiValue" : 9000,
"sounds" : {
"ambient" : ["LOOPGRIF"]
},
@ -271,6 +276,7 @@
"index" : 3,
"resetDuration" : 0,
"name" : "Imp Cache",
"aiValue" : 1500,
"sounds" : {
"ambient" : ["LOOPFIRE"]
},
@ -356,6 +362,7 @@
"index" : 4,
"resetDuration" : 0,
"name" : "Medusa Stores",
"aiValue" : 1500,
"sounds" : {
"ambient" : ["LOOPMEDU"]
},
@ -442,6 +449,7 @@
"index" : 5,
"resetDuration" : 0,
"name" : "Naga Bank",
"aiValue" : 3000,
"sounds" : {
"ambient" : ["LOOPNAGA"]
},
@ -528,6 +536,7 @@
"index" : 6,
"resetDuration" : 0,
"name" : "Dragon Fly Hive",
"aiValue" : 9000,
"sounds" : {
"ambient" : ["LOOPLEAR"]
},
@ -611,6 +620,7 @@
"blockedVisitable" : true,
"coastVisitable" : true,
"name" : "Shipwreck",
"aiValue" : 2000,
"rmg" : {
"value" : 2000,
"rarity" : 100
@ -704,6 +714,7 @@
"resetDuration" : 0,
"blockedVisitable" : true,
"name" : "Derelict Ship",
"aiValue" : 4000,
"rmg" : {
"value" : 4000,
"rarity" : 20
@ -798,6 +809,7 @@
"index" : 0,
"resetDuration" : 0,
"name" : "Crypt",
"aiValue" : 1500,
"rmg" : {
"value" : 1000,
"rarity" : 100
@ -889,6 +901,7 @@
"index" : 0,
"resetDuration" : 0,
"name" : "Dragon Utopia",
"aiValue" : 11000,
"rmg" : {
"value" : 10000,
"rarity" : 100
@ -999,6 +1012,7 @@
"index" : 0,
"resetDuration" : 0,
"name" : "Pyramid",
"aiValue" : 8000,
"rmg" : {
"value" : 5000,
"rarity" : 20
@ -1020,4 +1034,4 @@
}
}
}
}
}

View File

@ -34,7 +34,7 @@ class DLL_LINKAGE AObjectTypeHandler : public boost::noncopyable
SObjectSounds sounds;
std::optional<si32> aiValue;
[[deprecated]] std::optional<si32> aiValue;
BattleField battlefield;
std::string modScope;