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

Method guideMobId

modules/newbieguide/newbieguide.go:49–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47}
48
49func (m *newbieGuideModule) guideMobId() int {
50 if v, ok := m.plug.Config.Get(`GuideMobId`).(int); ok && v > 0 {
51 return v
52 }
53 return defaultGuideMobId
54}
55
56func (m *newbieGuideModule) maximumPlayerLevel() int {
57 if v, ok := m.plug.Config.Get(`MaximumPlayerLevel`).(int); ok && v > 0 {

Callers 3

spawnGuideMethod · 0.95
checkGuideMethod · 0.95
initFunction · 0.80

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected