mirror of
https://github.com/Walter-Sparrow/lunar-tear.git
synced 2026-07-02 05:43:41 +03:00
Implement memoir sub-status system with level-based unlocks
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user