Thanks for your research into which files control the probabilities. I'll contribute my improved version of your code though!
{?xml version="1.0"?} {config} {!-- UL Default: Ranging from 100% to as low as 60% for the highest qualities. --} {set xpath="/recipes/modify/upgrade/@prob"}1.0{/set} {/config} That's it. Way more future-proof than your 700 explicit lines listing each recipe. This one just immediately searches for every "modify: upgrade" recipe that has a "prob" property and sets them all to 1.0. ;)
You should release a new version with this improvement. It's more maintainable, and unlike your current release, this version won't break in the future when more recipes are added to Undead Legacy. :)
Thanks again for your awesome research into which files control the upgrades! I probably wouldn't even have bothered with this if you hadn't started the work!
PS: You have to replace every { and every } in the above with the actual XML < and > characters. Nexus Mods erases those characters from all messages (even inside code blocks) so I had no other option but replacing them all with { and } to be able to send this message.
2 comments
{?xml version="1.0"?}
{config}
{!-- UL Default: Ranging from 100% to as low as 60% for the highest qualities. --}
{set xpath="/recipes/modify/upgrade/@prob"}1.0{/set}
{/config}
That's it. Way more future-proof than your 700 explicit lines listing each recipe. This one just immediately searches for every "modify: upgrade" recipe that has a "prob" property and sets them all to 1.0. ;)
You should release a new version with this improvement. It's more maintainable, and unlike your current release, this version won't break in the future when more recipes are added to Undead Legacy. :)
Thanks again for your awesome research into which files control the upgrades! I probably wouldn't even have bothered with this if you hadn't started the work!
PS: You have to replace every { and every } in the above with the actual XML < and > characters. Nexus Mods erases those characters from all messages (even inside code blocks) so I had no other option but replacing them all with { and } to be able to send this message.
Take care! :)