1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-18 11:14:49 +00:00

bow:: disabled blade-only achievements

This commit is contained in:
Zeno Rogue 2023-12-22 00:28:11 +01:00
parent 558b8d7aff
commit 3d01ce808f
2 changed files with 2 additions and 1 deletions

View File

@ -1357,7 +1357,7 @@ EX void stabbingAttack(movei mi, eMonster who, int bonuskill IS(0)) {
}
}
if(who == moPlayer) {
if(who == moPlayer && !bow::crossbow_mode()) {
if(numsh) achievement_count("STAB", numsh, 0);
if(numlance && numflail && numsh) achievement_gain_once("MELEE3");

View File

@ -419,6 +419,7 @@ EX void shoot() {
changes.ccell(c1);
eMonster m = c->monst;
if(attackMonster(c1, AF_STAB | AF_MSG, who)) {
achievement_count("STAB", 1, 0);
spread_plague(c1, cf, t, moPlayer);
produceGhost(c, m, moPlayer);
}