浏览代码

Way less;

bjorn 10 年之前
父节点
当前提交
47a1039caa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      person.lua

+ 1 - 1
person.lua

@@ -93,7 +93,7 @@ end
 function Person:hop(direction)
   self.body:applyLinearImpulse(30 * direction, -45)
 
-  if ctx.map.name == 'dinoland' and self.gender == 'male' and love.math.random() < .1 and self:distanceTo(ctx.pigeon) < 500 then
+  if ctx.map.name == 'dinoland' and self.gender == 'male' and love.math.random() < .01 and self:distanceTo(ctx.pigeon) < 500 then
     ctx.sound:play('grunt')
   end
 end