forked from github/server
make dragon movement more deterministic
This commit is contained in:
parent
d85123fe8b
commit
09836ed249
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue