Limit Drop
This commit is contained in:
parent
c33995d256
commit
8d91c2c06e
|
@ -27,7 +27,7 @@ func (sm *Snowball) Run(env *core.Environment, t *core.Turtle) {
|
|||
am1 := t.Amount(env,1,"1")
|
||||
am2 := t.Amount(env,1,"2")
|
||||
|
||||
t.Drop(env, sm.sureness, strconv.Itoa(sm.color))
|
||||
t.Drop(env, 1, strconv.Itoa(sm.color))
|
||||
|
||||
|
||||
if am1 > sm.sureness || am2 > sm.sureness {
|
||||
|
|
Loading…
Reference in New Issue