Release 1.2.41

- Show save prompt before updating
- Add options for Enemy is Blinded, Dealt Non-Crit Recently, Ignited/Frozen an Enemy Recently
- Reworked node stat difference to avoid issue with certain radius jewels
This commit is contained in:
Openarl
2017-02-13 00:09:27 +10:00
parent b1c9eb5cb6
commit fc2586c7e1
15 changed files with 331 additions and 181 deletions

View File

@@ -126,7 +126,10 @@ function main:Init()
self:OpenPopup(800, 250, "Update Available", {
common.New("TextListControl", nil, 0, 20, 780, 190, nil, changeList),
common.New("ButtonControl", nil, -45, 220, 80, 20, "Update", function()
launch:ApplyUpdate(launch.updateAvailable)
local ret = self:CallMode("CanExit", "UPDATE")
if ret == nil or ret == true then
launch:ApplyUpdate(launch.updateAvailable)
end
main:ClosePopup()
end),
common.New("ButtonControl", nil, 45, 220, 80, 20, "Cancel", function()
@@ -204,7 +207,7 @@ function main:Init()
end
function main:CanExit()
local ret = self:CallMode("CanExit")
local ret = self:CallMode("CanExit", "EXIT")
if ret ~= nil then
return ret
else