From 2b3091540e161c94dd8d9e51325cd5abc3edd8ba Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 2 Mar 2020 20:35:53 +0100 Subject: [PATCH] ... Empathy also protects from Chaos-stun --- pcmove.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pcmove.cpp b/pcmove.cpp index 39e5026c..3f4d1687 100644 --- a/pcmove.cpp +++ b/pcmove.cpp @@ -507,8 +507,10 @@ void apply_chaos() { if(switch_lhu_in(cb->land)) cb->LHU = cob.LHU; int sa = ca->mondir - ((cwt+1)+wstep).spin; int sb = cb->mondir - ((cwt-1)+wstep).spin; - ca->stuntime = min(ca->stuntime + 3, 15); - cb->stuntime = min(cb->stuntime + 3, 15); + if(!(isFriendly(ca) && markOrb(itOrbEmpathy))) + ca->stuntime = min(ca->stuntime + 3, 15); + if(!(isFriendly(cb) && markOrb(itOrbEmpathy))) + cb->stuntime = min(cb->stuntime + 3, 15); ca->monmirror = !ca->monmirror; cb->monmirror = !cb->monmirror; if(ca->mondir < ca->type)