|
@@ -640,9 +640,19 @@ ModCompatibilityInfo MapController::modAssessmentMap(const CMap & map)
|
|
|
continue;
|
|
|
extractEntityMod(spellID.toEntity(VLC));
|
|
|
}
|
|
|
+
|
|
|
+ for(const auto & [_, slotInfo] : hero->artifactsWorn)
|
|
|
+ {
|
|
|
+ extractEntityMod(slotInfo.artifact->getTypeId().toEntity(VLC));
|
|
|
+ }
|
|
|
+
|
|
|
+ for(const auto & art : hero->artifactsInBackpack)
|
|
|
+ {
|
|
|
+ extractEntityMod(art.artifact->getTypeId().toEntity(VLC));
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- //TODO: terrains, artifacts?
|
|
|
+ //TODO: terrains?
|
|
|
return result;
|
|
|
}
|