horse: go generate
This commit is contained in:
@@ -18,6 +18,7 @@ func _() {
|
||||
_ = x[ValueUsageRandom-8]
|
||||
_ = x[ValueUsageRandom2-9]
|
||||
_ = x[ValueUsageClimax-10]
|
||||
_ = x[ValueUsageFans-12]
|
||||
_ = x[ValueUsageMaxStat-13]
|
||||
_ = x[ValueUsageGreenCount-14]
|
||||
_ = x[ValueUsageDistAdd-19]
|
||||
@@ -29,15 +30,15 @@ func _() {
|
||||
}
|
||||
|
||||
const (
|
||||
_AbilityValueUsage_name_0 = "directlyscaling with the number of skillsscaling with team Speedscaling with team Staminascaling with team Powerscaling with team Gutsscaling with team Witwith a random 0× to 0.04× multiplierwith a random 0× to 0.04× multiplierscaling with the number of races won in training"
|
||||
_AbilityValueUsage_name_1 = "scaling with the highest raw statscaling with the number of Passive skills activated"
|
||||
_AbilityValueUsage_name_0 = "directlyscaling with the number of skillsscaling with team Speedscaling with team Staminascaling with team Powerscaling with team Gutsscaling with team Witwith a random 0× to 0.04× multiplierwith a random 0× to 0.04× multiplierscaling with the number of races won in the career"
|
||||
_AbilityValueUsage_name_1 = "scaling with the number of fans earned in the careerscaling with the highest raw statscaling with the number of Passive skills activated"
|
||||
_AbilityValueUsage_name_2 = "plus extra when far from the leadscaling with mid-race phase blocked side time"
|
||||
_AbilityValueUsage_name_3 = "scaling with overall speedscaling with overall speedscaling with L'Arc global potentialscaling with the longest lead obtained in the first ⅔"
|
||||
)
|
||||
|
||||
var (
|
||||
_AbilityValueUsage_index_0 = [...]uint16{0, 8, 41, 64, 89, 112, 134, 155, 193, 231, 279}
|
||||
_AbilityValueUsage_index_1 = [...]uint8{0, 33, 84}
|
||||
_AbilityValueUsage_index_0 = [...]uint16{0, 8, 41, 64, 89, 112, 134, 155, 193, 231, 281}
|
||||
_AbilityValueUsage_index_1 = [...]uint8{0, 52, 85, 136}
|
||||
_AbilityValueUsage_index_2 = [...]uint8{0, 33, 78}
|
||||
_AbilityValueUsage_index_3 = [...]uint8{0, 26, 52, 87, 142}
|
||||
)
|
||||
@@ -47,8 +48,8 @@ func (i AbilityValueUsage) String() string {
|
||||
case 1 <= i && i <= 10:
|
||||
i -= 1
|
||||
return _AbilityValueUsage_name_0[_AbilityValueUsage_index_0[i]:_AbilityValueUsage_index_0[i+1]]
|
||||
case 13 <= i && i <= 14:
|
||||
i -= 13
|
||||
case 12 <= i && i <= 14:
|
||||
i -= 12
|
||||
return _AbilityValueUsage_name_1[_AbilityValueUsage_index_1[i]:_AbilityValueUsage_index_1[i+1]]
|
||||
case 19 <= i && i <= 20:
|
||||
i -= 19
|
||||
|
||||
Reference in New Issue
Block a user