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

Bypass initial version of spell callback

This commit is contained in:
nordsoft
2023-04-10 04:34:24 +04:00
parent fc310c6e79
commit e440343921
7 changed files with 33 additions and 1 deletions

View File

@@ -169,6 +169,9 @@ public:
std::vector<ArtifactID> artifacts;
std::vector<SpellID> spells;
std::vector<CStackBasicDescriptor> creatures;
/// actions that hero may execute
std::vector<SpellID> casts;
/// list of components that will be added to reward description. First entry in list will override displayed component
std::vector<Component> extraComponents;
@@ -213,6 +216,7 @@ public:
h & spells;
h & creatures;
h & creaturesChange;
h & casts;
}
};