From 2f8f7b2be3fa8e66409e2f9f9e6beaa8dffb9a57 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 20 Sep 2019 15:01:45 -0300 Subject: Fix Bracco. Remove a debug marker. Increase ore/coal rewards on Yeti King Quest. --- npc/001-7/celestia_bossfight.txt | 8 ++++---- npc/020-5/bracco.txt | 2 +- npc/guilds/logs.txt | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'npc') diff --git a/npc/001-7/celestia_bossfight.txt b/npc/001-7/celestia_bossfight.txt index 66eddd809..281235fa6 100644 --- a/npc/001-7/celestia_bossfight.txt +++ b/npc/001-7/celestia_bossfight.txt @@ -60,9 +60,9 @@ L_Survivor: switch (@menu) { case 1: if (.@r > 70) - getitem rand(Diamond, Amethyst), 1; + getitem rand2(Diamond, Amethyst), 1; else - getitem rand(CopperOre, TitaniumOre), 1; + getitem rand2(CopperOre, TitaniumOre), any(1,2); break; case 2: getexp .@r*80, .@r*2; // max 8000 xp and 200 jp @@ -71,7 +71,7 @@ L_Survivor: Zeny=Zeny+.@r*75; // max 7500 gp break; case 4: - getitem Coal, (.@r/20); // max 5 coal + getitem Coal, (.@r/10); // max 10 coal break; } compareandsetq HurnscaldQuest_Celestia, 5, 6; @@ -80,7 +80,7 @@ L_Survivor: next; if ($@CINDY_STATE > gettimetick(2)) { mesn col(l("The Yeti King"), 3); - mesq l("Some rogue Yetis are trying to escape to Nivalis. I can't hold them back for more than @@.", FuzzyTime($@CINDY_STATE+rand(5,95))); + mesq l("Some rogue Yetis are trying to escape to Nivalis. I can't hold them back for more than @@.", FuzzyTime($@CINDY_STATE+rand2(5,95))); next; } mesn col(l("The Yeti King"), 3); diff --git a/npc/020-5/bracco.txt b/npc/020-5/bracco.txt index af066b7c7..9a84cbfc9 100644 --- a/npc/020-5/bracco.txt +++ b/npc/020-5/bracco.txt @@ -70,7 +70,7 @@ getinventorylist(); for (.@index=0; .@index < @inventorylist_count; .@index++) { - .@x=@inventorylist_id[.@i]; + .@x=@inventorylist_id[.@index]; if (.@x == getarg(0) && Zeny >= .@price) { delitemidx .@index, 1; Zeny-=.@price; diff --git a/npc/guilds/logs.txt b/npc/guilds/logs.txt index f374c8800..1463d5b13 100644 --- a/npc/guilds/logs.txt +++ b/npc/guilds/logs.txt @@ -203,7 +203,7 @@ function showRecipe { debugmes "Seeking for slot %d on guild %d", getarg(0), getcharid(2); */ if (getd("$RECIPES_ALCHEMY_"+getcharid(2)+"["+getarg(0)+"]")) { - debugmes "Hooray! It exists! We have %d defined", getarg(1); + //debugmes "Hooray! It exists! We have %d defined", getarg(1); if (getarg(1)) { mesn l("Craft @@", getitemlink(getarg(1))); if (getarg(2,0)) -- cgit v1.2.3-60-g2f50