mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-06 02:37:19 +00:00
Plague spreads out in all directions if you have side-attack orbs
This commit is contained in:
parent
be85de1ba0
commit
6700e7e0dc
@ -1358,8 +1358,10 @@ EX void sideAttack(cell *mf, int dir, eMonster who, int bonus, eItem orb) {
|
||||
if(!items[orb]) return;
|
||||
if(who != moPlayer && !items[itOrbEmpathy]) return;
|
||||
for(int k: {-1, 1}) {
|
||||
cell *mt = mf->modmove(dir + k*bonus);
|
||||
sideAttackAt(mf, dir, mt, who, orb, mf);
|
||||
int dir1 = dir + k*bonus;
|
||||
dir1 = mf->c.fix(dir1);
|
||||
cell *mt = mf->move(dir1);
|
||||
sideAttackAt(mf, dir1, mt, who, orb, mf);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user