Implement memoir sub-status system with level-based unlocks

This commit is contained in:
Ilya Groshev
2026-04-22 14:03:26 +03:00
parent 7828de031c
commit 4dc722c5d3
12 changed files with 228 additions and 1 deletions
@@ -39,6 +39,8 @@ func (f NumericalFunc) Evaluate(value int32) int32 {
p[1]*value*value/1000 +
p[2]*value/1000 +
p[3]
case model.NumericalFunctionTypePartsMainOption:
return p[0]*value/1000 + p[1]
default:
return 0
}