From 0e7bceb46bf56392cb3e7024058147d933720e4f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 1 Jun 2019 00:45:56 -0300 Subject: Fix bugs --- npc/007-1/treasure.txt | 2 +- npc/012-5/nicholas.txt | 2 +- npc/craft/options.txt | 8 +++----- 3 files changed, 5 insertions(+), 7 deletions(-) (limited to 'npc') 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; } -- cgit v1.2.3-60-g2f50