More wandering sprite work

This commit is contained in:
2014-06-11 21:11:37 -07:00
parent 7015959c35
commit ec162bb280

View File

@@ -178,7 +178,7 @@ SPRITE_TOWNSFOLK_GUARD2 = 10;
var WanderingSprite = function(game, x, y, spritetype) {
this.update = function()
{
if ( game.rnd.integerInRange(0, 1) == 1 )
if ( game.rnd.integerInRange(0, 100) > 80 )
return;
running = [true, false][game.rnd.integerInRange(0, 1)];