MCPcopy Create free account
hub / github.com/GoMudEngine/GoMud / RemoveBuff

Method RemoveBuff

internal/characters/character.go:1241–1245  ·  view source on GitHub ↗
(buffId int)

Source from the content-addressed store, hash-verified

1239}
1240
1241func (c *Character) RemoveBuff(buffId int) {
1242 buffId = int(math.Abs(float64(buffId)))
1243 c.Buffs.RemoveBuff(buffId)
1244 c.Validate()
1245}
1246
1247func (c *Character) TimerSet(name, period string) {
1248 if c.Timers == nil {

Callers 2

reapplyPermabuffsMethod · 0.95
ApplyBuffsFunction · 0.95

Calls 1

ValidateMethod · 0.95

Tested by

no test coverage detected