Jolly Posted January 14, 2019 Share Posted January 14, 2019 I'm trying to get my ringoffire into a proper modlet instead of collection of direct edits. These dont seem to be working. Can anyone help me please ? In the modlet items xml <configs> <append xpath="/items/item[@name=foodChiliDog]/effect_group tiered="false"> <triggered_effect trigger="onSelfPrimaryActionEnd" action="AddBuff" target="self" buff="buffRingOfFire"/> </append> <set xpath="/items/item[@name=foodChiliDog]/property [@name=Extends][@value=foodCanHam]/@value">foodCornOnTheCob</set> </set> </configs> In the modlet buffs xml <configs> <set xpath="/buffs/buff[@name=buffRingOfFire]/property[@name=duration'and @value='0]/@value">60</set> </configs> Thx Link to comment Share on other sites More sharing options...
Xajar Posted January 14, 2019 Share Posted January 14, 2019 Try this, fixed some errors. items.xml <configs> <append xpath="/items/item[@name=foodChiliDog]/effect_group[@tiered=false]"> <triggered_effect trigger="onSelfPrimaryActionEnd" action="AddBuff" target="self" buff="buffRingOfFire"/> </append> <set xpath="/items/item[@name=foodChiliDog]/property[@name=Extends' and @value='foodCanHam]/@value">foodCornOnTheCob</set> </configs> buffs.xml <configs> <set xpath="/buffs/buff[@name=buffRingOfFire]/duration[@value=0]/@value">60</set> </configs> Link to comment Share on other sites More sharing options...
Jolly Posted January 14, 2019 Author Share Posted January 14, 2019 Thx alot mate. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.