mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
five-kill achievement now also counts the 'basic' kill
This commit is contained in:
parent
dd9723dc00
commit
2d6f7d4ed0
4
game.cpp
4
game.cpp
@ -7647,6 +7647,8 @@ bool movepcto(int d, int subdir, bool checkonly) {
|
||||
} */
|
||||
|
||||
mirror::act(origd, mirror::SPINMULTI | mirror::ATTACK);
|
||||
|
||||
int tk = tkills();
|
||||
|
||||
if(goodTortoise) {
|
||||
items[itBabyTortoise] += 4;
|
||||
@ -7676,7 +7678,7 @@ bool movepcto(int d, int subdir, bool checkonly) {
|
||||
}
|
||||
}
|
||||
|
||||
sideAttack(cwt.c, d, moPlayer, 0);
|
||||
sideAttack(cwt.c, d, moPlayer, tkills() - tk);
|
||||
lastmovetype = lmAttack; lastmove = c2;
|
||||
swordAttackStatic();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user