summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-26 00:49:10 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-26 00:49:10 -0300
commite3a5860e65f6a2287d66df3d1ab3efb267e905dc (patch)
tree1d970b061b9d092659efa5af650c3079d3783440
parent29952d7943a21de3802970d317b22641ac861d91 (diff)
downloadserverdata-e3a5860e65f6a2287d66df3d1ab3efb267e905dc.tar.gz
serverdata-e3a5860e65f6a2287d66df3d1ab3efb267e905dc.tar.bz2
serverdata-e3a5860e65f6a2287d66df3d1ab3efb267e905dc.tar.xz
serverdata-e3a5860e65f6a2287d66df3d1ab3efb267e905dc.zip
Update Cyndala: Every luck point gives you 0.1% chance to recover the dyes.
This means your maximum chance to recover dyes are 9.9%, though. Good luck!
-rw-r--r--npc/003-6/cyndala.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/npc/003-6/cyndala.txt b/npc/003-6/cyndala.txt
index ddc43cf96..35f697601 100644
--- a/npc/003-6/cyndala.txt
+++ b/npc/003-6/cyndala.txt
@@ -13,8 +13,7 @@
function explain_dyes {
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("Look at your equipment, can you guess what material it is made from?"),
- l("Seek a colorant for that material: Cotton, cashmere, leather, Lazurite..."),
+ l("Dyes are a special kind of ink to make certain objects fancier."),
l("Once you have the appropriate colorant for the item, ##bdrag the colorant##b to the material."),
l("Example:"),
l("Drag and drop a @@ in a @@, and you will obtain a @@.", getitemlink(RedDye), getitemlink(ArtisTankTop), getitemlink(ArtisTankTop, RedDye)),
@@ -62,7 +61,7 @@
}
speech S_LAST_NEXT,
- l("Your mind is set? You will loose the color dye during this process.");
+ l("Your mind is set? You will probably lose the color dye during this process.");
switch (askyesno())
{
@@ -71,7 +70,10 @@
l("Ok, let me see..."),
l("...");
- failedremovecardsindex .@item_index, 1;
+ if (rand(1, 1000) > readparam(bLuk))
+ failedremovecardsindex .@item_index, 1;
+ else
+ successremovecardsindex(.@item_index);
speech S_LAST_NEXT | S_NO_NPC_NAME,
l("..."),