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

vcmi: add UnitOnHex limiter

Bonus will be accepted, if unit stands in listed hexes
This commit is contained in:
Konstantin
2023-03-28 02:14:18 +03:00
parent ffe24627e7
commit 4c08e6a0f9
4 changed files with 61 additions and 1 deletions

View File

@@ -183,6 +183,7 @@ void registerTypesMapObjects2(Serializer &s)
s.template registerType<ILimiter, CreatureAlignmentLimiter>();
s.template registerType<ILimiter, RankRangeLimiter>();
s.template registerType<ILimiter, StackOwnerLimiter>();
s.template registerType<ILimiter, UnitOnHexLimiter>();
// s.template registerType<CBonusSystemNode>();
s.template registerType<CBonusSystemNode, CArtifact>();