I'm working on a mod to debuff building and mining on our server - mostly so the molemen don't need to feel bad about hopping on grinding out while they are on a business meeting.
Unfortunately, I can't seem to get PlayerExpGain to work as an Append. If I edit the XML directly, it works just fine. If I try to do it properly, it doesn't work.
<!--Test Case Eliminate XP-->
<append xpath="items/item[starts-with(@name, 'meleeToolRepair']/effect_group[starts-with(@name, 'meleetoolRepair')]">
<effect_group>
<passive_effect name="PlayerExpGain" operation="perc_add" value="-1" />
</effect_group>
</append>