1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Implemented "changeCreatures" option for Stables

This commit is contained in:
Ivan Savenko
2023-01-24 16:18:59 +02:00
parent ecbcafefbc
commit c9dcb921ab
5 changed files with 46 additions and 3 deletions

View File

@@ -153,6 +153,9 @@ public:
std::vector<si32> primary;
std::map<SecondarySkill, si32> secondary;
/// creatures that will be changed in hero's army
std::map<CreatureID, CreatureID> creaturesChange;
/// objects that hero may receive
std::vector<ArtifactID> artifacts;
std::vector<SpellID> spells;
@@ -198,6 +201,7 @@ public:
h & artifacts;
h & spells;
h & creatures;
h & creaturesChange;
}
};