1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-10 14:26:01 +00:00

crossbow: better mimic bowpaths, mimic bowpaths colored, mimic bowpaths slay mirror spirits

This commit is contained in:
Zeno Rogue
2023-10-28 09:12:08 +02:00
parent 3645a9b85e
commit 8129cfd726
3 changed files with 42 additions and 27 deletions

View File

@@ -256,7 +256,7 @@ bool pcmove::try_shooting(bool auto_target) {
items[itCrossbow] = bow::loading_time();
bow::shoot();
int v = -1; for(auto p: bow::bowpath) if(p.next.at == cwt.at && p.first) v = p.next.spin;
int v = -1; for(auto p: bow::bowpath) if(p.next.at == cwt.at && (p.flags & bow::bpFIRST)) v = p.next.spin;
if(v >= 0) sideAttack(cwt.at, v, moPlayer, 0);
if(items[itOrbGravity]) {