aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_score.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_score.go')
-rw-r--r--internal/game/cmd_score.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/internal/game/cmd_score.go b/internal/game/cmd_score.go
index 2005903..82c0803 100644
--- a/internal/game/cmd_score.go
+++ b/internal/game/cmd_score.go
@@ -57,4 +57,17 @@ func (g *Game) doScore(sess *net.Session) {
}
}
}
+
+ if len(p.ActiveBuffs) > 0 {
+ sess.WriteLine("")
+ sess.WriteLine("Active Buffs:")
+ for _, buff := range p.ActiveBuffs {
+ sess.WriteLine(fmt.Sprintf(" %s +%d%% %s (%d ticks)",
+ color.Render(mode, color.Parse("82"), "[BUFF]"),
+ buff.BonusPercent,
+ color.Render(mode, color.Parse("75"), buff.Stat),
+ buff.TicksLeft,
+ ))
+ }
+ }
}