1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

... Empathy also protects from Chaos-stun

This commit is contained in:
Zeno Rogue 2020-03-02 20:35:53 +01:00
parent 56258c7239
commit 2b3091540e

View File

@ -507,8 +507,10 @@ void apply_chaos() {
if(switch_lhu_in(cb->land)) cb->LHU = cob.LHU; if(switch_lhu_in(cb->land)) cb->LHU = cob.LHU;
int sa = ca->mondir - ((cwt+1)+wstep).spin; int sa = ca->mondir - ((cwt+1)+wstep).spin;
int sb = cb->mondir - ((cwt-1)+wstep).spin; int sb = cb->mondir - ((cwt-1)+wstep).spin;
ca->stuntime = min(ca->stuntime + 3, 15); if(!(isFriendly(ca) && markOrb(itOrbEmpathy)))
cb->stuntime = min(cb->stuntime + 3, 15); ca->stuntime = min(ca->stuntime + 3, 15);
if(!(isFriendly(cb) && markOrb(itOrbEmpathy)))
cb->stuntime = min(cb->stuntime + 3, 15);
ca->monmirror = !ca->monmirror; ca->monmirror = !ca->monmirror;
cb->monmirror = !cb->monmirror; cb->monmirror = !cb->monmirror;
if(ca->mondir < ca->type) if(ca->mondir < ca->type)