From ab6c66a2fa11f363aaa406a114688046a3342847 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 14 Aug 2017 20:31:43 +0200 Subject: [PATCH] fixed Orbs in Whirlpool yet again --- complex.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/complex.cpp b/complex.cpp index 4c44a2d1..3c34a047 100644 --- a/complex.cpp +++ b/complex.cpp @@ -953,13 +953,13 @@ namespace whirlpool { // 250 : hard if(hrand(5000) < 60 + 3 * items[itWhirlpool] + yendor::hardness()) wto->monst = moPirate; - if(hrand(5000) < 20 && d < -20 && !tactic::on && !peace::on) + if(hrand(5000) < 20 && d < -20 && !tactic::on && !inv::on) wto->item = itOrbSafety; else if(hrand(5000) < 20 && d < -20 && !tactic::on && markOrb(itOrbLuck)) wto->item = itOrbSafety; else if(hrand(5000) < 20*PRIZEMUL && d < -20) placePrizeOrb(wto); - else if(!peace::on && items[itWhirlpool] >= 10 && hrand(5000) < 20 && d < -15) + else if(!inv::on && items[itWhirlpool] >= 10 && hrand(5000) < 20 && d < -15) wto->item = itOrbWater; else if(d<-10 && hrand(5000) < 1000-d) wto->item = itWhirlpool;