MCPcopy 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
79func 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
91func GetAllBuffIds() []int {
92

Callers 15

GetCharNodeMethod · 0.92
GetAbilityDisplaysMethod · 0.92
RankPetsFunction · 0.92
wornBuffCountFunction · 0.92
wornBuffValueFunction · 0.92
GetBuffSummaryFunction · 0.92
AutoCalculateValueMethod · 0.92
ValidateBuffIdsFunction · 0.92
getBuffVMFunction · 0.92
apiV1PutMobStockFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestGetBuffSpecFunction · 0.68