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

Method AddGold

internal/scripting/party_func.go:144–148  ·  view source on GitHub ↗
(amt int, bankAmt ...int)

Source from the content-addressed store, hash-verified

142}
143
144func (p ScriptParty) AddGold(amt int, bankAmt ...int) {
145 p.each(func(a ScriptActor) {
146 a.AddGold(amt, bankAmt...)
147 })
148}
149func (p ScriptParty) AddHealth(amt int) {
150 p.each(func(a ScriptActor) {
151 a.AddHealth(amt)

Callers

nothing calls this directly

Calls 1

eachMethod · 0.95

Tested by

no test coverage detected