From df66484e1d2dff8c856beaa70bddff53d15b88ad Mon Sep 17 00:00:00 2001 From: Pluviolithic <94190216+Pluviolithic@users.noreply.github.com> Date: Sun, 22 Oct 2023 23:27:08 -0400 Subject: [PATCH] Add option for skipping stat multipliers --- src/server/State/Actions/PlayerDataActions.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/server/State/Actions/PlayerDataActions.lua b/src/server/State/Actions/PlayerDataActions.lua index 6a00468..54abf9a 100644 --- a/src/server/State/Actions/PlayerDataActions.lua +++ b/src/server/State/Actions/PlayerDataActions.lua @@ -16,11 +16,12 @@ return { end), incrementPlayerStat = makeActionCreator( "incrementPlayerStat", - function(playerName: string, statName: string, incrementAmount: number) + function(playerName: string, statName: string, incrementAmount: number, skipMultipliers: boolean) return { incrementAmount = incrementAmount, playerName = playerName, statName = statName, + skipMultipliers = skipMultipliers, shouldSave = true, } end