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:
parent
558b8d7aff
commit
3d01ce808f
@ -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");
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user