Add energy refill debug shortcut

This commit is contained in:
2026-06-17 22:50:53 +09:00
parent f2828deb19
commit bc80b96875
2 changed files with 26 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@@ -29,6 +29,10 @@ _InputService:ConnectEvent(KeyDownEvent, function(e)
if self.DebugCtrlDown == true and self.DebugShiftDown == true then
self:OpenDebugCardPicker()
end
elseif e.key == KeyboardKey.E then
if self.DebugCtrlDown == true and self.DebugShiftDown == true then
self:CheatFillEnergy()
end
end
end)
_InputService:ConnectEvent(KeyUpEvent, function(e)
@@ -38,6 +42,12 @@ _InputService:ConnectEvent(KeyUpEvent, function(e)
self.DebugShiftDown = false
end
end)`),
method('CheatFillEnergy', `if self.RunActive ~= true or self.CombatOver == true then
return
end
self.Energy = self.MaxEnergy
self:RenderPiles()
self:Toast("치트: 에너지 회복")`),
method('ReqLoadAscension', `local ds = _DataStorageService:GetUserDataStorage(userId)
local errCode, value = ds:GetAndWait("ascensionUnlocked")
local n = 0