horsebot: format duration scaling

This commit is contained in:
2026-02-15 10:46:08 -05:00
parent e608363a24
commit 63e8327125

View File

@@ -76,8 +76,10 @@ func RenderSkill(id horse.SkillID, all map[horse.SkillID]horse.Skill, groups map
t = "Instantaneous "
case act.Duration >= 500e4:
t = "Permanent "
default:
case act.DurScale == horse.DurationDirect:
t = "For " + act.Duration.String() + "s, "
default:
t = "For " + act.Duration.String() + "s " + act.DurScale.String() + ", "
}
for _, a := range act.Abilities {
abils = append(abils, a.String())