summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-01 00:45:56 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-01 00:45:56 -0300
commit0e7bceb46bf56392cb3e7024058147d933720e4f (patch)
tree4181f1b89ad3c846efb3ac6d62c8e49162e90ad1
parent8f4b058574462b7fd3d481ef545b90e11a768679 (diff)
downloadserverdata-0e7bceb46bf56392cb3e7024058147d933720e4f.tar.gz
serverdata-0e7bceb46bf56392cb3e7024058147d933720e4f.tar.bz2
serverdata-0e7bceb46bf56392cb3e7024058147d933720e4f.tar.xz
serverdata-0e7bceb46bf56392cb3e7024058147d933720e4f.zip
Fix bugs
-rw-r--r--npc/007-1/treasure.txt2
-rw-r--r--npc/012-5/nicholas.txt2
-rw-r--r--npc/craft/options.txt8
3 files changed, 5 insertions, 7 deletions
diff --git a/npc/007-1/treasure.txt b/npc/007-1/treasure.txt
index 96ed036e2..fdc985da3 100644
--- a/npc/007-1/treasure.txt
+++ b/npc/007-1/treasure.txt
@@ -8,7 +8,7 @@
.@regen_time=200;
fishing(2, CommonCarp, RustyKnife,
- ScorpionStinger, FatesPotion, GrassCarp); // begin or continue fishing
+ ScorpionStinger, FatesPotion, GrassCarp); // begin or continue fishing (AlchemyBlueprintA)
close;
OnInit:
diff --git a/npc/012-5/nicholas.txt b/npc/012-5/nicholas.txt
index 460b28331..324585247 100644
--- a/npc/012-5/nicholas.txt
+++ b/npc/012-5/nicholas.txt
@@ -117,7 +117,7 @@ L_Menu:
if (!SmithTweakSystem()) {
mes "";
mesn;
- mesq l("How bad for you... You failed! I'm sorry for your own lack of skill!");
+ mesq l("You can always try again another day!");
}
next;
goto L_Menu;
diff --git a/npc/craft/options.txt b/npc/craft/options.txt
index 2830aefa6..76862cee5 100644
--- a/npc/craft/options.txt
+++ b/npc/craft/options.txt
@@ -397,7 +397,6 @@ function script csys_Apply {
break;
// Apply a bonus using array_pop (it was shuffled so we're fine)
- // A pity 1 str and 1 hp is so different.
.@vartp=array_pop(@csys_attr);
.@bonus=rand(1, (.@lv+.@lv2)/2+1)*csys_Multiplier(.@vartp)+1;
setitemoptionbyindex(.@id, .@slot, .@vartp, .@bonus);
@@ -413,11 +412,10 @@ function script csys_Apply {
if (rand(10000) > 9500-(.@base*.@slt))
break;
- // Apply a bonus using array_pop (it was shuffled so we're fine)
- // A pity 1 str and 1 hp is so different.
+ // Apply a malus using array_pop (it was shuffled so we're fine)
.@vartp=array_pop(@csys_penalty);
- .@bonus=rand(1, (.@lv+.@lv2)/2+1)*csys_Multiplier(.@vartp)+1;
- setitemoptionbyindex(.@id, .@slot, .@vartp, .@bonus);
+ .@malus=rand(1, (.@lv+.@lv2)/2+1)*csys_Multiplier(.@vartp)+1;
+ setitemoptionbyindex(.@id, .@slot, .@vartp, -(.@malus));
.@slot+=1;
.@slt+=1;
}