1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Discharging conditions

This commit is contained in:
SoundSSGood
2025-05-14 15:07:21 +02:00
parent fcc9b8ecfa
commit f614a8a7f5
10 changed files with 123 additions and 42 deletions

View File

@@ -1027,6 +1027,7 @@ struct DLL_LINKAGE DischargeArtifact : CArtifactOperationPack
{
ArtifactInstanceID id;
uint16_t charges;
std::optional<ArtifactLocation> artLoc;
DischargeArtifact() = default;
DischargeArtifact(const ArtifactInstanceID & id, const uint16_t charges)
@@ -1041,6 +1042,7 @@ struct DLL_LINKAGE DischargeArtifact : CArtifactOperationPack
{
h & id;
h & charges;
h & artLoc;
}
};