Formula

CommonFun.ResetTripleSeasonScore

formula.lua
1function CommonFun.ResetTripleSeasonScore(score)
2  if score == nil then
3    return 0
4  end
5  local A = 0
6  local resetscore1 = math.min((score - 500) * 0.3, 150)
7  local resetscore2 = math.min((score - 1000) * 0.2, 200)
8  local resetscore3 = math.min((score - 2000) * 0.1, 100)
9  local resetscore4 = math.min((score - 3000) * 0.05, 150)
10  A = math.max(resetscore1, 0) + math.max(resetscore2, 0) + math.max(resetscore3, 0) + math.max(resetscore4, 0)
11  return A
12end
Formula Graph

Connected Archive Data

See which cards, equipment, headwears, buffs, and other archived records connect to this formula.

Loading graph filters

CommonFun.ResetTripleSeasonScore

commonfun-resettripleseasonscore

Nodes

0

Edges

0

Related Nodes

Select at least one node type.