More wandering sprite work
This commit is contained in:
@@ -178,7 +178,7 @@ SPRITE_TOWNSFOLK_GUARD2 = 10;
|
|||||||
var WanderingSprite = function(game, x, y, spritetype) {
|
var WanderingSprite = function(game, x, y, spritetype) {
|
||||||
this.update = function()
|
this.update = function()
|
||||||
{
|
{
|
||||||
if ( game.rnd.integerInRange(0, 1) == 1 )
|
if ( game.rnd.integerInRange(0, 100) > 80 )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
running = [true, false][game.rnd.integerInRange(0, 1)];
|
running = [true, false][game.rnd.integerInRange(0, 1)];
|
||||||
|
|||||||
Reference in New Issue
Block a user