mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-30 08:52:52 +00:00
fixed Lancers
This commit is contained in:
parent
d18a05558a
commit
12c9113561
@ -1241,6 +1241,7 @@ EX void stabbingAttack(cell *mf, cell *mt, eMonster who, int bonuskill IS(0)) {
|
|||||||
int flag = AF_APPROACH;
|
int flag = AF_APPROACH;
|
||||||
if(anglestraight(mt, backdir, t)) flag |= AF_HORNS;
|
if(anglestraight(mt, backdir, t)) flag |= AF_HORNS;
|
||||||
if(canAttack(mt,who,c,c->monst, flag)) {
|
if(canAttack(mt,who,c,c->monst, flag)) {
|
||||||
|
changes.ccell(c);
|
||||||
if(attackMonster(c, flag | AF_MSG, who)) numlance++;
|
if(attackMonster(c, flag | AF_MSG, who)) numlance++;
|
||||||
spread_plague(mt, c, t, who);
|
spread_plague(mt, c, t, who);
|
||||||
produceGhost(c, mm, who);
|
produceGhost(c, mm, who);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user