anno1800-mod-loader icon indicating copy to clipboard operation
anno1800-mod-loader copied to clipboard

Bug with Merge Type

Open taubenangriff opened this issue 4 years ago • 1 comments

So, the xml Structure for AttackRange goes like this:

<Asset> <Values> <Attacker> <AttackRange>Value</AttackRange> </Attacker> </Values> </Asset>

Compare the following ModOps:

<ModOp GUID='1010524' Type="merge" Path="/Values/Attacker"> <AttackRange>200</AttackRange> </ModOp>

<ModOp GUID='1010524' Type="replace" Path="/Values/Attacker/AttackRange"> <AttackRange>1530</AttackRange> </ModOp>

Both should end up in the exact same result, but in Reality, the first one has no effect (even tho the Node exists!), while the second one works fine.

taubenangriff avatar Apr 06 '20 21:04 taubenangriff

🤔

xforce avatar Apr 08 '20 19:04 xforce