1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

colorful Plague

This commit is contained in:
Zeno Rogue 2020-02-29 20:30:26 +01:00
parent 2585affdf3
commit c390b63e0a

View File

@ -1288,7 +1288,7 @@ EX void sideAttackAt(cell *mf, int dir, cell *mt, eMonster who, eItem orb, cell
auto plague_particles = [&] {
if(orb == itOrbPlague) {
for(int i=0; i<16; i++)
drawDirectionalParticle(pf, neighborId(pf, mt), iinf[orb].color);
drawDirectionalParticle(pf, neighborId(pf, mt), (i&1) ? orb_auxiliary_color(orb) : iinf[orb].color);
}
};
if(canAttack(mf, who, mt, m, f)) {