Ensure Sleeve's apply saves the game
nice
This commit is contained in:
parent
a639a92c3c
commit
9e86973b87
3 changed files with 3 additions and 3 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
"id": "Roland",
|
"id": "Roland",
|
||||||
"name": "Roland",
|
"name": "Roland",
|
||||||
"prefix": "Roland",
|
"prefix": "Roland",
|
||||||
"version": "2.9.68",
|
"version": "2.9.69",
|
||||||
"badge_colour": "8BE9FD",
|
"badge_colour": "8BE9FD",
|
||||||
"display_name": "Roland",
|
"display_name": "Roland",
|
||||||
"main_file": "src/main.lua",
|
"main_file": "src/main.lua",
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ local back = (function()
|
||||||
return ret
|
return ret
|
||||||
end,
|
end,
|
||||||
apply = function(self, ...)
|
apply = function(self, ...)
|
||||||
return (tbl.alt_apply and self:is_alt() and tbl.alt_apply or apply)(self, ...)
|
return save((tbl.alt_apply and self:is_alt() and tbl.alt_apply or apply)(self, ...))
|
||||||
end,
|
end,
|
||||||
calculate = function(self, ...)
|
calculate = function(self, ...)
|
||||||
return (tbl.alt_calculate and self:is_alt() and tbl.alt_calculate or calculate)(self, ...)
|
return (tbl.alt_calculate and self:is_alt() and tbl.alt_calculate or calculate)(self, ...)
|
||||||
|
|
|
||||||
|
|
@ -60,8 +60,8 @@ SMODS.Tag {
|
||||||
pos = {x = 0, y = 0},
|
pos = {x = 0, y = 0},
|
||||||
config = {amount = 5},
|
config = {amount = 5},
|
||||||
loc_vars = function(self, info_queue, tag)
|
loc_vars = function(self, info_queue, tag)
|
||||||
info_queue[#info_queue + 1] = G.P_CENTERS.e_Roland_frozen
|
|
||||||
tag.ability = tag.ability or {}
|
tag.ability = tag.ability or {}
|
||||||
|
table.insert(info_queue, G.P_CENTERS.e_Roland_frozen)
|
||||||
return {vars = {tag.ability.amount or self.config.amount}}
|
return {vars = {tag.ability.amount or self.config.amount}}
|
||||||
end,
|
end,
|
||||||
apply = function(self, tag, context)
|
apply = function(self, tag, context)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue