summaryrefslogtreecommitdiff
path: root/npc/028-1/Doctor.txt
diff options
context:
space:
mode:
authorFreeyorp <Freeyorp101@hotmail.com>2010-04-11 20:04:59 +1200
committerFreeyorp <Freeyorp101@hotmail.com>2010-05-24 23:33:30 +1200
commita2aed404767a3a7f0563f22340f4f501d16aa97f (patch)
tree08233befa83849630d87598a4170e9f551a6b65c /npc/028-1/Doctor.txt
parent01dc57b12f8af4880ce57063bdaaf28d02269543 (diff)
downloadserverdata-a2aed404767a3a7f0563f22340f4f501d16aa97f.tar.gz
serverdata-a2aed404767a3a7f0563f22340f4f501d16aa97f.tar.bz2
serverdata-a2aed404767a3a7f0563f22340f4f501d16aa97f.tar.xz
serverdata-a2aed404767a3a7f0563f22340f4f501d16aa97f.zip
More fixes
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;