Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoMudEngine/GoMud
/ GetBuffSpec
Function
GetBuffSpec
internal/buffs/buffspec.go:79–89 ·
view source on GitHub ↗
(buffId int)
Source
from the content-addressed store, hash-verified
77
}
78
79
func
GetBuffSpec(buffId int) *BuffSpec {
80
if
buffId < 0 {
81
buffId *= -1
82
}
83
84
if
buff, ok := buffs[buffId]; ok {
85
return
buff
86
}
87
88
return
nil
89
}
90
91
func
GetAllBuffIds() []int {
92
Callers
15
GetCharNode
Method · 0.92
GetAbilityDisplays
Method · 0.92
GetCurrentAbilityDisplay
Method · 0.92
RankPets
Function · 0.92
wornBuffCount
Function · 0.92
wornBuffValue
Function · 0.92
templatesfunctions.go
File · 0.92
GetBuffSummary
Function · 0.92
AutoCalculateValue
Method · 0.92
ValidateBuffIds
Function · 0.92
getBuffVM
Function · 0.92
apiV1PutMobStock
Function · 0.92
Calls
no outgoing calls
Tested by
1
TestGetBuffSpec
Function · 0.68