Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix invalid detection of phase, update cooking data #23

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions data/Cooking/skills.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2421,7 +2421,7 @@ MTSL_DATA["skills"]["Cooking"] =
["Spanish"] = "Estofado de trucha",
["Taiwanese"] = "炖鲑魚",
},
["phase"] = 4,
["phase"] = 2,
["trainers"] = {
["price"] = 60000,
["sources"] = {
Expand All @@ -2446,7 +2446,7 @@ MTSL_DATA["skills"]["Cooking"] =
["Spanish"] = "Festín de pescador",
["Taiwanese"] = "漁夫的美味",
},
["phase"] = 4,
["phase"] = 2,
["trainers"] = {
["price"] = 60000,
["sources"] = {
Expand All @@ -2471,7 +2471,7 @@ MTSL_DATA["skills"]["Cooking"] =
["Spanish"] = "Trucha con mantequilla caliente",
["Taiwanese"] = "黃油鲑魚",
},
["phase"] = 4,
["phase"] = 2,
["trainers"] = {
["price"] = 60000,
["sources"] = {
Expand Down
2 changes: 1 addition & 1 deletion ui/saved_variables.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down