Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
Add option for skipping stat multipliers
Browse files Browse the repository at this point in the history
  • Loading branch information
Pluviolithic committed Oct 23, 2023
1 parent 52d4466 commit df66484
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/State/Actions/PlayerDataActions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df66484

Please sign in to comment.