don't show cooldown on passives

This commit is contained in:
2026-01-17 00:39:24 -05:00
parent 2e5f923831
commit d22d032152
3 changed files with 6 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ func RenderSkill(id horse.SkillID, all map[horse.SkillID]horse.Skill, groups map
abils = append(abils, a.String())
}
t += strings.Join(abils, ", ")
if act.Cooldown < 500e4 {
if act.Cooldown > 0 && act.Cooldown < 500e4 {
t += " on " + act.Cooldown.String() + "s cooldown"
}
text = append(text, t)