Skip to content

Commit

Permalink
fix: Use bonus value when applying primary attribute origin modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
spuxx1701 committed Jul 8, 2024
1 parent 5501d2b commit 73401fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/game-objects/character/origin/origin.go.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class CharacterOrigin extends GameObject {
const modifier = new Modifier<PrimaryAttribute>({
targetName: primaryAttribute.name,
keys: ['min', 'max', 'current', 'start'],
amount: 1,
amount: bonus,
});
character.addModifier(modifier);
}
Expand Down

0 comments on commit 73401fe

Please sign in to comment.