summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-20 15:01:45 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-20 15:01:45 -0300
commit2f8f7b2be3fa8e66409e2f9f9e6beaa8dffb9a57 (patch)
treec3bd7e216387a30d3628cd63e5ecf2649aac8a91 /npc
parentef292a89e0111a0915a9aba5b7b2a9d36d21790a (diff)
downloadserverdata-2f8f7b2be3fa8e66409e2f9f9e6beaa8dffb9a57.tar.gz
serverdata-2f8f7b2be3fa8e66409e2f9f9e6beaa8dffb9a57.tar.bz2
serverdata-2f8f7b2be3fa8e66409e2f9f9e6beaa8dffb9a57.tar.xz
serverdata-2f8f7b2be3fa8e66409e2f9f9e6beaa8dffb9a57.zip
Fix Bracco. Remove a debug marker. Increase ore/coal rewards on Yeti King Quest.
Diffstat (limited to 'npc')
-rw-r--r--npc/001-7/celestia_bossfight.txt8
-rw-r--r--npc/020-5/bracco.txt2
-rw-r--r--npc/guilds/logs.txt2
3 files changed, 6 insertions, 6 deletions
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))