chore: reduce negative points to 1 (#5162)
To eliminate the chance of having negative total, minimum upon completion now is 30XP
This commit is contained in:
parent
1f9f2ab24a
commit
ce2e7778ce
2 changed files with 3 additions and 3 deletions
|
|
@ -273,14 +273,14 @@ extension ConstructUseTypeExtension on ConstructUseTypeEnum {
|
|||
case ConstructUseTypeEnum.incIt:
|
||||
case ConstructUseTypeEnum.incIGC:
|
||||
case ConstructUseTypeEnum.incM:
|
||||
case ConstructUseTypeEnum.incLM:
|
||||
case ConstructUseTypeEnum.incLA:
|
||||
return -1;
|
||||
|
||||
case ConstructUseTypeEnum.incPA:
|
||||
case ConstructUseTypeEnum.incWL:
|
||||
case ConstructUseTypeEnum.incHWL:
|
||||
case ConstructUseTypeEnum.incL:
|
||||
case ConstructUseTypeEnum.incLM:
|
||||
case ConstructUseTypeEnum.incLA:
|
||||
return -2;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -322,7 +322,7 @@ class VocabPracticeState extends State<VocabPractice> {
|
|||
if (correct) {
|
||||
OverlayUtil.showPointsGained(transformTargetId, 5, context);
|
||||
} else {
|
||||
OverlayUtil.showPointsGained(transformTargetId, -2, context);
|
||||
OverlayUtil.showPointsGained(transformTargetId, -1, context);
|
||||
}
|
||||
if (!correct) return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue