diff --git a/src/main/java/dev/ebullient/convert/tools/dnd5e/Tools5eJsonSourceCopier.java b/src/main/java/dev/ebullient/convert/tools/dnd5e/Tools5eJsonSourceCopier.java index 7ebafff6..97836a74 100644 --- a/src/main/java/dev/ebullient/convert/tools/dnd5e/Tools5eJsonSourceCopier.java +++ b/src/main/java/dev/ebullient/convert/tools/dnd5e/Tools5eJsonSourceCopier.java @@ -263,8 +263,8 @@ protected JsonNode mergeNodes(Tools5eIndexType type, String originKey, JsonNode // pre-convert any dynamic text JsonNode copyMetaMod = MetaFields._mod.getFrom(_copy); for (Entry entry : iterableFields(copyMetaMod)) { - // use the copyTo value as the attribute source for resolving dynamic text - entry.setValue(resolveDynamicText(originKey, entry.getValue(), copyTo)); + // use the target value as the attribute source for resolving dynamic text + entry.setValue(resolveDynamicText(originKey, entry.getValue(), target)); } // Now iterate and apply mod rules