fixed Orbs in Whirlpool yet again

This commit is contained in:
Zeno Rogue 2017-08-14 20:31:43 +02:00
parent d9c31476f0
commit ab6c66a2fa
1 changed files with 2 additions and 2 deletions

View File

@ -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;