From 09836ed2495d10f5c1438159d6b5b7f69cca1612 Mon Sep 17 00:00:00 2001 From: Steffen Mecke Date: Tue, 8 Dec 2015 20:05:48 +0100 Subject: [PATCH] make dragon movement more deterministic --- src/monsters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monsters.c b/src/monsters.c index b48cb7c82..3819b4323 100644 --- a/src/monsters.c +++ b/src/monsters.c @@ -677,7 +677,7 @@ static order *plan_dragon(unit * u) } } - if (move) { + if (move && (!ta | chance(0.1))) { /* dragon gets bored and looks for a different place to go */ ta = set_new_dragon_target(u, u->region, DRAGON_RANGE); }