From 2d82bf5b15cb5d8cb941529e3b98ade03e7f683a Mon Sep 17 00:00:00 2001 From: Zereges Date: Wed, 22 Dec 2021 15:18:27 +0100 Subject: [PATCH 1/2] GetPatchLevelServer should return best possible patch --- ui/saved_variables.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/saved_variables.lua b/ui/saved_variables.lua index f9ff8f9..20ff146 100644 --- a/ui/saved_variables.lua +++ b/ui/saved_variables.lua @@ -590,7 +590,7 @@ MTSLUI_SAVED_VARIABLES = { local _, _, _, tocversion = GetBuildInfo() if tocversion then for _, v in pairs(MTSLUI_ADDON.SERVER_VERSION_PHASES) do - if v.max_tocversion <= tocversion then + if v.max_tocversion >= tocversion then return v.id end end From 2738716a3765edf8b5437904a96ead54c7ec4f98 Mon Sep 17 00:00:00 2001 From: Zereges Date: Wed, 22 Dec 2021 15:19:42 +0100 Subject: [PATCH 2/2] Cooking: Stewed Trout, Fisherman's Feast and Hot Buttered Trout are available from phase 2 --- data/Cooking/skills.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/Cooking/skills.lua b/data/Cooking/skills.lua index d9fb68f..e4db97e 100644 --- a/data/Cooking/skills.lua +++ b/data/Cooking/skills.lua @@ -2421,7 +2421,7 @@ MTSL_DATA["skills"]["Cooking"] = ["Spanish"] = "Estofado de trucha", ["Taiwanese"] = "炖鲑魚", }, - ["phase"] = 4, + ["phase"] = 2, ["trainers"] = { ["price"] = 60000, ["sources"] = { @@ -2446,7 +2446,7 @@ MTSL_DATA["skills"]["Cooking"] = ["Spanish"] = "Festín de pescador", ["Taiwanese"] = "漁夫的美味", }, - ["phase"] = 4, + ["phase"] = 2, ["trainers"] = { ["price"] = 60000, ["sources"] = { @@ -2471,7 +2471,7 @@ MTSL_DATA["skills"]["Cooking"] = ["Spanish"] = "Trucha con mantequilla caliente", ["Taiwanese"] = "黃油鲑魚", }, - ["phase"] = 4, + ["phase"] = 2, ["trainers"] = { ["price"] = 60000, ["sources"] = {