forked from github/server
Merge pull request #445 from stm2/dragon_move
make dragon movement more deterministic
This commit is contained in:
commit
2c7790af9c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue