summaryrefslogtreecommitdiff
path: root/npc/028-1/Doctor.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/028-1/Doctor.txt')
-rw-r--r--npc/028-1/Doctor.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/028-1/Doctor.txt b/npc/028-1/Doctor.txt
index c00a319a..0260043f 100644
--- a/npc/028-1/Doctor.txt
+++ b/npc/028-1/Doctor.txt
@@ -1596,7 +1596,7 @@ L_lens_pc_use_pearl:
delitem "Pearl", 1;
mes "You pass the pearl to the Doctor, who awkwardly takes it with one hand, grinds it into powder with another device, all the while keeping the container firmly in place. After he finishes, you sprinkle the powder evenly over the concoction.";
if (@textureID > 1) set @textureID, @textureID - 1;
- if (rand(3 * @rounds / @dilution) > 0) set @tintID, @tintID & ~1; // Remove red
+ if (rand(3 * (@rounds + 2) / (@dilution + 2)) > 0) set @tintID, @tintID & ~1; // Remove red
if (rand(2) > 0) set @tintID, @tintID & ~2; // Remove blue
if (rand(3) > 0) set @tintID, @tintID & ~4; // Remove yellow
if (rand(@opacityID) == 0) set @opacityID, @opacityID + 1;