From a2aed404767a3a7f0563f22340f4f501d16aa97f Mon Sep 17 00:00:00 2001 From: Freeyorp Date: Sun, 11 Apr 2010 20:04:59 +1200 Subject: More fixes --- npc/028-1/Doctor.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/028-1') 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; -- cgit v1.2.3-60-g2f50