From 33818130cc5620e0ae198f0fac5803ac6e585e65 Mon Sep 17 00:00:00 2001 From: Stefan Beller Date: Sat, 29 Jan 2011 00:52:17 +0100 Subject: Balancing of arrows - A bigger damage difference of Iron arrows to standard arrows, without changed prizes: standard arrow is 20 dmg for 3 gp each iron arrow is 60 dmg for 5 gp each - rework of the terranite arrow quest: - introducing local variables to easily set prizes for terra arrows. - lowering the prizes for terra arrows (in item_db: sell value reduced from 400 to 20) - reducing the needed stuff for 1k arrows: now set: 1 terra ore, 5 coal, and 3k gp (old values for 1k arrows: 10 terra ore, 20 coal, 10k gp) --- db/item_db.txt | 6 +++--- npc/021-2_Tulimshar/heathin.txt | 45 +++++++++++++++++++++++------------------ 2 files changed, 28 insertions(+), 23 deletions(-) diff --git a/db/item_db.txt b/db/item_db.txt index 562c7b8d..01d744fb 100644 --- a/db/item_db.txt +++ b/db/item_db.txt @@ -29,7 +29,7 @@ 526, CoinBag, Coin Bag, 3, 100, 50, 5, , , , , , , , , , , {}, {}, , 527, Milk, Milk, 0, 300, 150, 5, , , , , , 2, , , 0, , {itemheal 150, 0;}, {}, 528, Boots, Boots, 5, 8000, 500, 80, , 2, , -2, 0, 2, 64, , 0, 0, {}, {}, , -529, IronArrow, Iron Arrow, 10, 5, 2, 1, 50, , , , , 2, 32768, , , , {}, {}, , +529, IronArrow, Iron Arrow, 10, 5, 2, 1, 60, , , , , 2, 32768, , , , {}, {}, , 530, ShortBow, Short Bow, 4, 3000, 500, 600, 50, , 5, , 0, 2, 34, 1, 4, 11, {}, {}, , 531, MinerGloves, Miner Gloves, 5, 3000, 1000, 30, , 2, , -10, 0, 2, 4, , 0, 0, {}, {}, , 532, LeatherGloves, Leather Gloves, 5, 6000, 2000, 20, , 4, , -20, 0, 2, 4, , 0, 0, {}, {}, , @@ -273,7 +273,7 @@ //759, PaladinsHelmet, Paladin's Helmet, , , , , , , , , , , , , , , {}, {} //760, OverlordsHelmet, Overlord's Helmet, , , , , , , , , , , , , , , {}, {} //761, DesertHelmet, Desert Helmet, , , , , , , , , , , , , , , {}, {} -762, TerraniteArrow, Terranite Arrow, 10, 800, 400, 1, 50, 0, 0, 0, 0, 2, 32768, , , 0, {}, {bonus bAtkRange, 1;} +762, TerraniteArrow, Terranite Arrow, 10, 80, 20, 1, 70, 0, 0, 0, 0, 2, 32768, , , 0, {}, {bonus bAtkRange, 1;} 763, TerraniteOre, Terranite Ore, 3, 500, 250, 40, , , , , , , , , , , {}, {} //764, SailorHat, Sailor Hat, , , , , , , , , , , , , , , {}, {} //765, CaptainsHat, Captain's Hat, , , , , , , , , , , , , , , {}, {} @@ -307,7 +307,7 @@ // Add new entries above here. For dyed entries, add to the bottom of the 2000s. 1198, JackOSoul, Jack O Soul, 3, 100000, 1, 1, , , , , , , , , , , {}, {} -1199, Arrow, Arrow, 10, 3, 1, 1, 25, 0, 0, , 0, 2, 32768, , , , {}, {} +1199, Arrow, Arrow, 10, 3, 1, 1, 20, 0, 0, , 0, 2, 32768, , , , {}, {} 1200, Bow, Bow, 4, 1000, 500, 20, 20, , 5, , 0, 2, 34, 1, 4, 11, {}, {} 1201, Knife, Knife, 4, 50, 25, 120, 5, , 1, , 0, 2, 2, 1, 1, 1, {}, {} 1202, CottonShirt, Cotton Shirt, 5, 10, 5, 13, , 2, , -2, 0, 2, 512, , 0, 0, {}, {} diff --git a/npc/021-2_Tulimshar/heathin.txt b/npc/021-2_Tulimshar/heathin.txt index 5d675e3c..270d510a 100644 --- a/npc/021-2_Tulimshar/heathin.txt +++ b/npc/021-2_Tulimshar/heathin.txt @@ -1,7 +1,11 @@ //Items for NPC are incomplete. Makes "simple ring" which can be crafted into a useful ring by Inya and terranite armor. 021-2.gat,29,55,0 script Heathin 147,{ - + + set @TARROW_REQ_TERRA_ORE, 1; + set @TARROW_REQ_COAL, 5; + set @TARROW_REQ_GP, 3000; + if (HEATHIN_QUEST == 14) && (baselevel >= 80) goto L_Heathin_Terranite_Arrows_Trade; if (HEATHIN_QUEST == 13) && (baselevel >= 80) goto L_Heathin_Terranite_Arrows_Ready; if (HEATHIN_QUEST == 12) && (baselevel >= 80) goto L_Heathin_Terranite_Arrows_Forge; @@ -94,7 +98,7 @@ L_Heathin_Terranite_Hood: mes "\"Hello again friend, I just found out about this great metal called terranite.\""; next; mes "\"This metal is almost as strong as steel, but is also very ductile.\""; - next; + next; mes "\"With some effort, I can make this metal form rings tighter than any chain mail. It isn't the prettiest in hue, but its uses can be many.\""; next; mes "\"Unfortunately, it seems to be difficult to gather. Most that have searched for [Terranite Ore] either cannot find it or have never returned...\""; @@ -116,7 +120,7 @@ L_Heathin_Terranite_Yes: set HEATHIN_QUEST, 3; mes "[Heathin]"; mes "\"Great, this is going to be fun! As I have not had much practice with this armor, I'd like to get started soon.\""; - next; + next; mes "Heathin thinks for a moment."; next; mes "\"Ah, I know! I will make a helm... Well, more like a hood, since it will be woven.\""; @@ -175,7 +179,7 @@ L_Heathin_Terranite_Legs_Ready: mes "[Heathin]"; mes "\"I am all done with your terranite pants. Hope you enjoy them! I have some more work to complete for the Council. Come back later and I might be able to assist you again.\""; close; - + L_Heathin_Terranite_Chest_Armor: set HEATHIN_QUEST, 9; mes "[Heathin]"; @@ -224,36 +228,36 @@ L_Heathin_Terranite_Arrows_No: L_Heathin_Terranite_Arrows_Yes: set HEATHIN_QUEST, 12; mes "[Heathin]"; - mes "\"Good, good. I shall begin crafting these arrows as soon as you come back. However, I cannot just make small handfuls as it would not be worth my time and effort to have my concentration interrupted for small tasks. I will make 1,000 [Terranite Arrow]s per request, for which I will need 10 [Terranite Ore], 20 [Coal] and 10,000 gold pieces.\""; + mes "\"Good, good. I shall begin crafting these arrows as soon as you come back. However, I cannot just make small handfuls as it would not be worth my time and effort to have my concentration interrupted for small tasks. I will make 1,000 [Terranite Arrow]s per request, for which I will need "+@TARROW_REQ_TERRA_ORE+" [Terranite Ore], "+@TARROW_REQ_COAL+" [Coal] and "+@TARROW_REQ_GP+" gold pieces.\""; next; mes "\"See you soon!\""; close; L_Heathin_Terranite_Arrows_Forge: - if ( (zeny < 10000) | (countitem("Coal") < 20) | (countitem("TerraniteOre") < 10) ) goto L_Heathin_Terranite_Arrows_Wait; + if ( (zeny < @TARROW_REQ_GP) | (countitem("Coal") < @TARROW_REQ_COAL) | (countitem("TerraniteOre") < @TARROW_REQ_TERRA_ORE) ) goto L_Heathin_Terranite_Arrows_Wait; set HEATHIN_QUEST, 13; - delitem "Coal", 20; - delitem "TerraniteOre", 10; - set zeny, zeny - 10000; + delitem "Coal", @TARROW_REQ_COAL; + delitem "TerraniteOre", @TARROW_REQ_TERRA_ORE; + set zeny, zeny - @TARROW_REQ_GP; mes "[Heathin]"; mes "\"Wonderful! You have everything I asked for. I will start working on the arrows right away.\""; close; L_Heathin_Terranite_Arrows_Wait: mes "[Heathin]"; - mes "\"If you want [Terranite Arrow]s, please get me 10 [Terranite Ore], 20 [Coal] and 10,000 gold pieces.\""; + mes "\"If you want [Terranite Arrow]s, please get me "+@TARROW_REQ_TERRA_ORE+" [Terranite Ore], "+@TARROW_REQ_COAL+" [Coal] and "+@TARROW_REQ_GP+" gold pieces.\""; close; L_Heathin_Terranite_Arrows_Ready: getitem "TerraniteArrow", 1000; set HEATHIN_QUEST, 14; mes "[Heathin]"; - mes "\"All done, here you go! I hope you like them. I am still working on my commission, but if you ever need any more [Terranite Arrow]s, just come on by with 20 [Coal], 10 [Terranite Ore] and 10,000 gold pieces and I will make another 1,000 arrows for you. By now I have enough [Terranite Ore] in reserve that you can just trade me my requirements to keep my resources up. Thank you for all your efforts!\""; + mes "\"All done, here you go! I hope you like them. I am still working on my commission, but if you ever need any more [Terranite Arrow]s, just come on by with "+@TARROW_REQ_COAL+" [Coal], "+@TARROW_REQ_TERRA_ORE+" [Terranite Ore] and "+@TARROW_REQ_GP+" gold pieces and I will make another 1,000 arrows for you. By now I have enough [Terranite Ore] in reserve that you can just trade me my requirements to keep my resources up. Thank you for all your efforts!\""; close; L_Heathin_Terranite_Arrows_Trade: mes "[Heathin]"; - mes "\"Hello, there. If you have 20 [Coal], 10 [Terranite Ore] and 10,000 gold pieces, I will trade you 1,000 [Terranite Arrow]s. Would you like some [Terranite Arrow]s?\""; + mes "\"Hello, there. If you have "+@TARROW_REQ_COAL+" [Coal], "+@TARROW_REQ_TERRA_ORE+" [Terranite Ore] and "+@TARROW_REQ_GP+" gold pieces, I will trade you 1,000 [Terranite Arrow]s. Would you like some [Terranite Arrow]s?\""; menu "No.", L_Heathin_Terranite_Arrows_Trade_No, "Yes.", L_Heathin_Terranite_Arrows_Trade_Yes; @@ -265,18 +269,19 @@ L_Heathin_Terranite_Arrows_Trade_No: close; L_Heathin_Terranite_Arrows_Trade_Yes: - if ( (zeny < 10000) | (countitem("Coal") < 20) | (countitem("TerraniteOre") < 10) ) goto L_Heathin_Terranite_Arrows_Trade_Wait; - delitem "Coal", 20; - delitem "TerraniteOre", 10; - set zeny, zeny - 10000; - getitem "TerraniteArrow", 1000; - mes "[Heathin]"; - mes "\"Here you go! Come back again if you want more [Terranite Arrow]s.\""; + if ( (zeny < @TARROW_REQ_GP) | (countitem("Coal") < @TARROW_REQ_COAL) | (countitem("TerraniteOre") < @TARROW_REQ_TERRA_ORE) ) goto L_Heathin_Terranite_Arrows_Trade_Wait; + delitem "Coal", @TARROW_REQ_COAL; + delitem "TerraniteOre", @TARROW_REQ_TERRA_ORE; + set zeny, zeny - @TARROW_REQ_GP; + set @lucky, 5 * rand(readparam(bLuk)); + getitem "TerraniteArrow", 1000 + @lucky; + mes "[Heathin]"; + mes "\"Here you go! You are lucky, I could forge "+@lucky+" more arrows than expected. Come back again if you want more [Terranite Arrow]s.\""; close; L_Heathin_Terranite_Arrows_Trade_Wait: mes "[Heathin]"; - mes "\"It seems that you do not have the necessary resources for me to trade you. Please come back with 20 [Coal], 10 [Terranite Ore] and 10,000 gold pieces if you want another 1,000 [Terranite Arrow]s.\""; + mes "\"It seems that you do not have the necessary resources for me to trade you. Please come back with "+@TARROW_REQ_COAL+" [Coal], "+@TARROW_REQ_TERRA_ORE+" [Terranite Ore] and "+@TARROW_REQ_GP+" gold pieces if you want another 1,000 [Terranite Arrow]s.\""; close; } -- cgit v1.2.3-70-g09d2