mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-16 22:24:07 +00:00
fixed the Slaying+side attack combo
This commit is contained in:
parent
d66a877889
commit
7be773ea03
@ -1552,7 +1552,7 @@ EX void sideAttackAt(cell *mf, int dir, cell *mt, eMonster who, eItem orb, cell
|
|||||||
if(who != moPlayer) markOrb(itOrbEmpathy);
|
if(who != moPlayer) markOrb(itOrbEmpathy);
|
||||||
int kk = 0;
|
int kk = 0;
|
||||||
if(orb == itOrbPlague) kk = tkills();
|
if(orb == itOrbPlague) kk = tkills();
|
||||||
if(attackMonster(mt, AF_NORMAL | AF_SIDE | AF_MSG, who) || isAnyIvy(m)) {
|
if(attackMonster(mt, AF_NORMAL | f | AF_MSG, who) || isAnyIvy(m)) {
|
||||||
if(orb == itOrbPlague && kk < tkills())
|
if(orb == itOrbPlague && kk < tkills())
|
||||||
plague_kills++;
|
plague_kills++;
|
||||||
if(mt->monst != m) spread_plague(mf, mt, dir, who);
|
if(mt->monst != m) spread_plague(mf, mt, dir, who);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user