Compare commits

...

2 Commits

Author SHA1 Message Date
zephyr 4bfb06b682 horse: fix units in skill ability strings 2026-01-22 23:05:53 -05:00
zephyr 72b8bc9c6c doc: add diff of db changes for tamamo cross added 2026-01-22 22:25:28 -05:00
2 changed files with 1912 additions and 3 deletions
File diff suppressed because it is too large Load Diff
+9 -3
View File
@@ -72,7 +72,7 @@ func (a Ability) String() string {
case AbilityVision: case AbilityVision:
r = append(r, a.Value.String()...) r = append(r, a.Value.String()...)
r = append(r, 'm') r = append(r, 'm')
case AbilityHP, AbilityCurrentSpeed, AbilityTargetSpeed, AbilityLaneSpeed, AbilityAccel: case AbilityHP:
r = append(r, (a.Value * 100).String()...) r = append(r, (a.Value * 100).String()...)
r = append(r, '%') r = append(r, '%')
case AbilityGateDelay: case AbilityGateDelay:
@@ -81,9 +81,15 @@ func (a Ability) String() string {
case AbilityFrenzy: case AbilityFrenzy:
r = append(r, a.Value.String()...) r = append(r, a.Value.String()...)
r = append(r, 's') r = append(r, 's')
case AbilityCurrentSpeed, AbilityTargetSpeed, AbilityLaneSpeed:
r = append(r, a.Value.String()...)
r = append(r, " m/s"...)
case AbilityAccel:
r = append(r, a.Value.String()...)
r = append(r, " m/s²"...)
case AbilityLaneChange: case AbilityLaneChange:
r = append(r, (a.Value * 100).String()...) r = append(r, a.Value.String()...)
r = append(r, "% of track width"...) r = append(r, " track widths"...)
} }
} }
if a.Target != TargetSelf { if a.Target != TargetSelf {