mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-30 09:17:57 +00:00
fixed the Slaying+side attack combo
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user