aboutsummaryrefslogtreecommitdiff
path: root/internal/game/sys_buff.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-09-16 15:00:46 -0400
committerhistoria <[not public]>2026-09-16 15:00:46 -0400
commita6cf03a6ae98e4fb675da25046d148e92bcf7206 (patch)
tree194499fe9e696be8c31cd915b7ad92678f9f95e0 /internal/game/sys_buff.go
parent9192d94dea6be5498ab080f3e2df5667af871d7a (diff)
downloadthehouseoficarus-a6cf03a6ae98e4fb675da25046d148e92bcf7206.tar.gz
chore: staticcheck and gofmt cleanups
Diffstat (limited to 'internal/game/sys_buff.go')
-rw-r--r--internal/game/sys_buff.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/game/sys_buff.go b/internal/game/sys_buff.go
index 3b8555c..01660d8 100644
--- a/internal/game/sys_buff.go
+++ b/internal/game/sys_buff.go
@@ -3,7 +3,6 @@ package game
import (
"strings"
- "thehouseoficarus/internal/net"
"thehouseoficarus/internal/player"
)
@@ -49,7 +48,3 @@ func (g *Game) buffLevelBonus(p *player.Player, stat string) int {
baseLevel := p.Level(player.SkillName(strings.ToLower(stat)))
return baseLevel * totalPercent / 100
}
-
-func (g *Game) totalBuffedLevel(sess *net.Session, p *player.Player, stat string) int {
- return p.Level(player.SkillName(strings.ToLower(stat))) + g.buffLevelBonus(p, stat)
-}