make dragon movement more deterministic

This commit is contained in:
Steffen Mecke 2015-12-08 20:05:48 +01:00
parent d85123fe8b
commit 09836ed249
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}