Skip to content

Commit 142975f

Browse files
Fix: ozo's fridge targeter + Hep (CarefulOdds)
Don't claim it'll damage Hep ancestors, Fed plants, etc.
1 parent 557434e commit 142975f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crawl-ref/source/target.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1628,6 +1628,8 @@ aff_type targeter_refrig::is_affected(coord_def loc)
16281628
const actor* act = actor_at(loc);
16291629
if (!act || act == agent || !agent->can_see(*act))
16301630
return AFF_NO;
1631+
if (god_protects(agent, act->as_monster(), true))
1632+
return AFF_NO;
16311633

16321634
int adj = 0;
16331635
for (adjacent_iterator ai(loc); ai; ++ai)

0 commit comments

Comments
 (0)