# HG changeset patch # User KarstenBock@gmx.net # Date 1318163342 -7200 # Node ID 90ad38b00f1396180da0737eccbdba0d4b845ac2 # Parent 53faff63037f1ee578267609cde4f9537bc4a243 Fix to decrease the wander rate of the npcs. diff -r 53faff63037f -r 90ad38b00f13 behaviours/npc.py --- a/behaviours/npc.py Sun Oct 09 14:03:25 2011 +0200 +++ b/behaviours/npc.py Sun Oct 09 14:29:02 2011 +0200 @@ -36,8 +36,11 @@ # wander rate is the number of "IDLEs" before a wander step # this could be set for individual NPCs at load time # or thrown out altogether. + # HACK: 09.Oct.2011 Beliar + # I increased the wander rate to 900 since the idle method + # gets called way more often now. self.wanderCounter = 0 - self.wanderRate = 9 + self.wanderRate = 900 def getTargetLocation(self): """@rtype: fife.Location