From 9521b5e7c55a29620644b558e93cfae8743fd53a Mon Sep 17 00:00:00 2001 From: Branden J Brown Date: Sun, 2 Aug 2026 02:37:24 -0400 Subject: [PATCH] horse: go generate --- abilitytarget_string.go | 4 ++-- abilitytype_string.go | 6 +++++- abilityvalueusage_string.go | 13 +++++++------ 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/abilitytarget_string.go b/abilitytarget_string.go index f78fba7..aa4fb1e 100644 --- a/abilitytarget_string.go +++ b/abilitytarget_string.go @@ -27,13 +27,13 @@ const ( _AbilityTarget_name_0 = "selfothers with Sympathy" _AbilityTarget_name_1 = "others in view" _AbilityTarget_name_2 = "frontmost" - _AbilityTarget_name_3 = "others aheadothers behindall teammates" + _AbilityTarget_name_3 = "aheadbehindall teammates" _AbilityTarget_name_4 = "using stylerushing others aheadrushing others behindrushing using stylespecific characterwhosoever triggered this skill" ) var ( _AbilityTarget_index_0 = [...]uint8{0, 4, 24} - _AbilityTarget_index_3 = [...]uint8{0, 12, 25, 38} + _AbilityTarget_index_3 = [...]uint8{0, 5, 11, 24} _AbilityTarget_index_4 = [...]uint8{0, 11, 31, 52, 71, 89, 119} ) diff --git a/abilitytype_string.go b/abilitytype_string.go index 8d77f9f..852426b 100644 --- a/abilitytype_string.go +++ b/abilitytype_string.go @@ -26,6 +26,7 @@ func _() { _ = x[AbilityRushedChance-29] _ = x[AbilityAccel-31] _ = x[AbilityLaneChange-35] + _ = x[AbilityActivateRare-37] } const ( @@ -35,7 +36,8 @@ const ( _AbilityType_name_3 = "Current speedCurrent speed" _AbilityType_name_4 = "Target speedLane change speedRushed chance" _AbilityType_name_5 = "Acceleration" - _AbilityType_name_6 = "Forced lane change" + _AbilityType_name_6 = "Set target lane" + _AbilityType_name_7 = "Activate rare skills" ) var ( @@ -67,6 +69,8 @@ func (i AbilityType) String() string { return _AbilityType_name_5 case i == 35: return _AbilityType_name_6 + case i == 37: + return _AbilityType_name_7 default: return "AbilityType(" + strconv.FormatInt(int64(i), 10) + ")" } diff --git a/abilityvalueusage_string.go b/abilityvalueusage_string.go index 713dfdb..585375a 100644 --- a/abilityvalueusage_string.go +++ b/abilityvalueusage_string.go @@ -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