mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 22:39:53 +00:00
colorful Plague
This commit is contained in:
parent
2585affdf3
commit
c390b63e0a
@ -1288,7 +1288,7 @@ EX void sideAttackAt(cell *mf, int dir, cell *mt, eMonster who, eItem orb, cell
|
|||||||
auto plague_particles = [&] {
|
auto plague_particles = [&] {
|
||||||
if(orb == itOrbPlague) {
|
if(orb == itOrbPlague) {
|
||||||
for(int i=0; i<16; i++)
|
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)) {
|
if(canAttack(mf, who, mt, m, f)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user