diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/028-1/Doctor3.txt | 1 | ||||
-rw-r--r-- | npc/028-1/Doctor4.txt | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/npc/028-1/Doctor3.txt b/npc/028-1/Doctor3.txt index 2a0def64..e0ee86bd 100644 --- a/npc/028-1/Doctor3.txt +++ b/npc/028-1/Doctor3.txt @@ -153,6 +153,7 @@ L_stones_crystal: set @menuid[@c], E10_STONES_RAGS; set @c, @c +1; +L_stones_rags: if (countitem("DarkPetal") < 1) goto L_stones_petal; set @menuitems$[@c], "A Dark Petal?"; set @menuid[@c], E10_STONES_PETAL; diff --git a/npc/028-1/Doctor4.txt b/npc/028-1/Doctor4.txt index 9384e734..4b63e128 100644 --- a/npc/028-1/Doctor4.txt +++ b/npc/028-1/Doctor4.txt @@ -263,7 +263,7 @@ L_lens_loop_check: // Check to whether you finished here if ((@textureID == 3 || @textureID == 2) && @tintID == 0 && @opacityID == 0 && @rounds < 3) goto L_lens_early; if ((@textureID == 3 || @textureID == 2) && @tintID == 0 && @opacityID == 0) goto L_lens_complete; - if (@textureID == 0 && @rounds / @dilution > 4) goto L_lens_dry_destroyed; + if (@textureID == 0 && (@rounds + 2) / (@dilution + 2) > 4) goto L_lens_dry_destroyed; if ((@damage > 3 && @crystalEnergy > 80) || (@damage > 2 && @crystalEnergy > 80 && @textureID == 0)) goto L_lens_violently_destroyed; next; goto L_lens_loop_main; @@ -301,7 +301,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; |