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

Method Uncurse

internal/scripting/actor_func.go:704–713  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

702}
703
704func (a ScriptActor) Uncurse() []*ScriptItem {
705
706 retList := []*ScriptItem{}
707
708 for _, itm := range a.characterRecord.Uncurse() {
709 retList = append(retList, GetItem(itm))
710 }
711
712 return retList
713}
714
715func (a ScriptActor) GetPet() *ScriptPet {
716 if !a.characterRecord.Pet.Exists() {

Callers

nothing calls this directly

Calls 1

GetItemFunction · 0.85

Tested by

no test coverage detected