mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-26 00:47:00 +00:00
bow:: fixed the geometric crossbow not hitting monsters inside walls
This commit is contained in:
parent
3da65f4cd5
commit
dbc51d2f94
@ -193,9 +193,9 @@ EX vector<int> create_dirseq_geometric() {
|
||||
if(best_i < 0) break;
|
||||
at = at + best_i;
|
||||
int bonus = bolt_score(at + wstep);
|
||||
if(bonus < 0) break;
|
||||
best_score_res += bonus;
|
||||
dirseq.push_back(best_i);
|
||||
if(bonus < 0) break;
|
||||
T = T * currentmap->adj(at.at, at.spin);
|
||||
at = at + wstep;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user