1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-02 02:37:55 +00:00

attacking guarding dogs now wakes up all other existing guarding dogs, and causes a small ambush -- also affects shmup mode and other ranged attacks

This commit is contained in:
Zeno Rogue
2023-10-28 23:44:05 +02:00
parent f7a25ff2d1
commit 87f7b2a593
2 changed files with 8 additions and 0 deletions

View File

@@ -905,6 +905,12 @@ EX void ambush(cell *c, int dogs) {
addMessage(XLAT("You are ambushed!"));
}
EX void guard_attack() {
addMessage(XLAT("%The1 alarms other dogs as it dies!", moHunterGuard));
for(cell *c: dcal) if(c->monst == moHunterGuard) c->monst = moHunterDog;
ambush(cwt.at, 7);
}
EX }
EX namespace dice {