diff --git a/src/actions/RoleAction.lua b/src/actions/RoleAction.lua index 8de8fa9..079a588 100644 --- a/src/actions/RoleAction.lua +++ b/src/actions/RoleAction.lua @@ -1791,7 +1791,7 @@ function _M.worldLineRouletteRpc(agent, data) local points = math.floor((gift_base_10 + gift_base_1) * (gift_magnification_1 + gift_magnification_0)) worldChangePoints[ItemWorldLine.RouletteCount] = worldChangePoints[ItemWorldLine.RouletteCount] - 1 - worldChangePoints[ItemWorldLine.Points] = worldChangePoints[ItemWorldLine.Points] + points + worldChangePoints[ItemWorldLine.Points] = (worldChangePoints[ItemWorldLine.Points] or 0) + points role:updateProperty({field = "worldChangePoints", value = worldChangePoints}) SendPacket(actionCodes.Role_worldLineRouletteRpc, MsgPack.pack({base_10 = gift_base_10, base_1 = gift_base_1, magnification_1 = gift_magnification_1, magnification_0 = gift_magnification_0})) -- libgit2 0.21.2