level 1
bai毒ceo
楼主

decoysBuilt = 0loop:
item = self.findNearest(self.findItems())
friend=self.findFriends()
# 掠夺金币!
itempos=item.pos
x=itempos.x
y=itempos.y
self.moveXY(x, y)
totalgold+=item.volue
i=0
while i < 4:
self.gold >25
self.buildXY("decoy", x, y)
i += 1
if i= 4:
# 每个诱饵消费25个金币,使用石英灵石。
# 让它知道当你有超过25个金币的时候 self.gold.
# 当你一直走的时候,保持统计你创建的诱饵的数量。
# 当你创建了4个诱饵时跳出循环
self.say("完成创建诱饵!")
# 去找 Naria 并告诉她你创建了多少个诱饵。
