kelp fronds are not gems
- mksobj had a misplaced test for KELP_FROND in the GEM_CLASS code, moved to the FOOD_CLASS code
This commit is contained in:
+3
-1
@@ -445,6 +445,9 @@ boolean artif;
|
|||||||
case SLIME_MOLD:
|
case SLIME_MOLD:
|
||||||
otmp->spe = current_fruit;
|
otmp->spe = current_fruit;
|
||||||
break;
|
break;
|
||||||
|
case KELP_FROND:
|
||||||
|
otmp->quan = (long) rnd(2);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
if (otmp->otyp == CORPSE || otmp->otyp == MEAT_RING) break;
|
if (otmp->otyp == CORPSE || otmp->otyp == MEAT_RING) break;
|
||||||
/* fall into next case */
|
/* fall into next case */
|
||||||
@@ -452,7 +455,6 @@ boolean artif;
|
|||||||
case GEM_CLASS:
|
case GEM_CLASS:
|
||||||
if (otmp->otyp == LOADSTONE) curse(otmp);
|
if (otmp->otyp == LOADSTONE) curse(otmp);
|
||||||
else if (otmp->otyp == ROCK) otmp->quan = (long) rn1(6,6);
|
else if (otmp->otyp == ROCK) otmp->quan = (long) rn1(6,6);
|
||||||
else if (otmp->otyp == KELP_FROND) otmp->quan = (long) rnd(2);
|
|
||||||
else if (otmp->otyp != LUCKSTONE && !rn2(6)) otmp->quan = 2L;
|
else if (otmp->otyp != LUCKSTONE && !rn2(6)) otmp->quan = 2L;
|
||||||
else otmp->quan = 1L;
|
else otmp->quan = 1L;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user