Skip to content

Commit 5cd8528

Browse files
committed
mc constant change
1 parent 1963bd6 commit 5cd8528

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

DB/optionsDB.lua

+9
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,15 @@ function CraftSim.DB.OPTIONS:Migrate()
238238

239239
CraftSimDB.optionsDB.version = 6
240240
end
241+
242+
-- migrate constant change .. again
243+
if CraftSimDB.optionsDB.version == 6 then
244+
if CraftSimDB.optionsDB.data["PROFIT_CALCULATION_MULTICRAFT_CONSTANT"] == 2.2 then
245+
CraftSimDB.optionsDB.data["PROFIT_CALCULATION_MULTICRAFT_CONSTANT"] = CraftSim.CONST.MULTICRAFT_CONSTANT
246+
end
247+
248+
CraftSimDB.optionsDB.version = 7
249+
end
241250
end
242251

243252
function CraftSim.DB.OPTIONS:CleanUp()

Data/News.lua

-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ function CraftSim.NEWS:GET_NEWS(itemMap)
3838
f.p .. f.bb("Cooldowns Module:"),
3939
f.a .. "- Now tracking" .. f.bb(" Invent") .. " and " .. f.bb(" Experiments"),
4040
f.a .. "- Now offering an expansion filter option",
41-
f.p .. "Changed Default Multicraft Constant to " .. f.g("2.2"),
4241
newP("17.1.7"),
4342
f.s .. "Added an " .. f.g("Add First Crafts Button") .. " to the " .. f.bb("CraftQueue"),
4443
f.a .. "Now only queues recipes for open profession",

Util/Const.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ CraftSim.CONST.ALCHEMICAL_EXPERIMENTATION_RECIPE_IDS = {
4646
-- this average comes from 20-40% resources saved on proc with a minimum of 1
4747
-- currently this is just an approximation
4848
CraftSim.CONST.BASE_RESOURCEFULNESS_AVERAGE_SAVE_FACTOR = 0.30
49-
CraftSim.CONST.MULTICRAFT_CONSTANT = 2.2
49+
CraftSim.CONST.MULTICRAFT_CONSTANT = 2.5
5050

5151
CraftSim.CONST.DISCORD_INVITE_URL = "https://discord.gg/7vqKMgezXR"
5252
CraftSim.CONST.PAYPAL_ME_URL = "https://www.paypal.com/paypalme/CraftSim"

0 commit comments

Comments
 (0)