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:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user