1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-20 11:54:48 +00:00

fixed Lancers

This commit is contained in:
Zeno Rogue 2020-03-02 03:18:11 +01:00
parent d18a05558a
commit 12c9113561

View File

@ -1241,6 +1241,7 @@ EX void stabbingAttack(cell *mf, cell *mt, eMonster who, int bonuskill IS(0)) {
int flag = AF_APPROACH;
if(anglestraight(mt, backdir, t)) flag |= AF_HORNS;
if(canAttack(mt,who,c,c->monst, flag)) {
changes.ccell(c);
if(attackMonster(c, flag | AF_MSG, who)) numlance++;
spread_plague(mt, c, t, who);
produceGhost(c, mm, who);