From 08f08dd588e1b24cc9d8c20737ca664331160e99 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Fri, 28 Mar 2025 18:22:31 +0100 Subject: [PATCH] Make merchanter multiplier --- cookother.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/cookother.yml b/cookother.yml index d4c363ff..80a99057 100644 --- a/cookother.yml +++ b/cookother.yml @@ -163,3 +163,15 @@ s1 = table.concat(alltalents, "\n") files: - "Content/**/TalentTrees.xml" + +- name: merchantstock + regex: (?-s)!num)")?(?:!anyminavailable="(?!num)")? + lua: | + if multiplier then + multiplier = round(multiplier * 3, 2) + end + if minavailable then + minavailable = round(minavailable * 3, 2) + end + files: + - "**/*.xml"