I'm trying to merge two cards, but can't get it to work

Hey guys, I’m trying to merge the scharnhorstreform card with the grenade launcher card, but I can’t seem to get it to work, I checks if the file paths are okay and they are. Anyone able to help out?

<techtreemods>
<tech name="DEHCLandwehr" type="Normal">
    <effects>
	 <effect mergeMode='add' type="TechStatus" status="active">DEGrenadierEnable</effect>
      <effect type="Data" amount="1.00" subtype="CopyTacticAnims" fromtactic="GrenadierMortar" totactic="Volley" relativity="Assign">
        <target type="ProtoUnit">Grenadier</target>
      </effect>
      <effect mergeMode='add' type="Data" amount="1.00" subtype="CopyTacticAnims" fromtactic="GrenadierMortar" totactic="Defend" relativity="Assign">
        <target type="ProtoUnit">Grenadier</target>
      </effect>
      <effect mergeMode='add' type="Data" amount="1.00" subtype="CopyTacticAnims" fromtactic="GrenadierMortar" totactic="Stagger" relativity="Assign">
        <target type="ProtoUnit">Grenadier</target>
      </effect>
      <effect mergeMode='add' type="Data" amount="1.00" subtype="CopyTacticAnims" fromtactic="GrenadierMortar" totactic="StandGround" relativity="Assign">
        <target type="ProtoUnit">Grenadier</target>
      </effect>
      <effect mergeMode='add' type="Data" action="MortarAttack" amount="1.00" subtype="ActionEnable" relativity="Absolute">
        <target type="ProtoUnit">Grenadier</target>
      </effect>
      <effect mergeMode='add' type="Data" action="VolleyRangedAttack" amount="0.00" subtype="ActionEnable" relativity="Absolute">
        <target type="ProtoUnit">Grenadier</target>
      </effect>
      <effect mergeMode='add' type="Data" action="DefendRangedAttack" amount="0.00" subtype="ActionEnable" relativity="Absolute">
        <target type="ProtoUnit">Grenadier</target>
      </effect>
      <effect mergeMode='add' type="Data" action="StaggerRangedAttack" amount="0.00" subtype="ActionEnable" relativity="Absolute">
        <target type="ProtoUnit">Grenadier</target>
      </effect>
      <effect mergeMode='add' type="Data" action="MortarBuildingAttack" amount="1.00" subtype="ActionEnable" relativity="Absolute">
        <target type="ProtoUnit">Grenadier</target>
      </effect>
      <effect mergeMode='add' type="Data" action="BuildingAttack" amount="0.00" subtype="ActionEnable" relativity="Absolute">
        <target type="ProtoUnit">Grenadier</target>
      </effect>
      <effect mergeMode='add' type="Data" amount="2.00" subtype="LOS" relativity="Absolute">
        <target type="ProtoUnit">Grenadier</target>
      </effect>
      <effect mergeMode='add' type="TechStatus" status="obtainable">IncendiaryGrenades</effect>
      <effect mergeMode='add' type="TextOutput">91788</effect>
      </effect>
    </effects>
</tech>
</techtreemods>

I think you dont need to do the "

<effect mergeMode='add' type="TechStatus" status="active">DEGrenadierEnable</effect>

Only :
<effect type="TechStatus" status="active">DEGrenadierEnable</effect>

And these:

      <effect mergeMode='add' type="Data" action="VolleyRangedAttack" amount="0.00" subtype="ActionEnable" relativity="Absolute">
        <target type="ProtoUnit">Grenadier</target>
      </effect>

should be :

      <effect type="Data" action="VolleyRangedAttack" amount="1.00" subtype="ActionEnable" relativity="Absolute">
        <target type="ProtoUnit">Grenadier</target>
      </effect>```

Never mind, just found an orphaned </effects> with no counter part, lol. I must have overlook this 20 times by now…

1 Like

i see it now LMAO
Literly on the bottom xD

1 Like

Locked by user request