From 457fb273f245a00200a9e032ebb363df0f7f0599 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 6 May 2021 06:56:56 -0300 Subject: Change a bit Heathin so it is more stable in overall... ...And make it progress in a fancy way :3 --- npc/001-2/heathin.txt | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/npc/001-2/heathin.txt b/npc/001-2/heathin.txt index a8c846b0..82f72802 100644 --- a/npc/001-2/heathin.txt +++ b/npc/001-2/heathin.txt @@ -8,12 +8,14 @@ if (QL_TERRANITE_ARMOR == 13) && (BaseLevel >= 80) goto L_Arrows_Ready; if (QL_TERRANITE_ARMOR == 12) && (BaseLevel >= 80) goto L_Arrows_Forge; if (QL_TERRANITE_ARMOR == 11) && (BaseLevel >= 80) goto L_Arrows; + if (QL_TERRANITE_ARMOR == 11) goto L_Forge_Thanks; if (QL_TERRANITE_ARMOR == 10) && (BaseLevel >= 80) goto L_Chest_Armor_Ready; if (QL_TERRANITE_ARMOR == 9) && (BaseLevel >= 80) goto L_Chest_Armor_Forge; if (QL_TERRANITE_ARMOR == 8) && (BaseLevel >= 80) goto L_Chest_Armor; - if (QL_TERRANITE_ARMOR == 7) && (BaseLevel >= 80) goto L_Legs_Ready; - if (QL_TERRANITE_ARMOR == 6) && (BaseLevel >= 80) goto L_Legs_Forge; - if (QL_TERRANITE_ARMOR == 5) && (BaseLevel >= 80) goto L_Legs; + if (QL_TERRANITE_ARMOR == 8) goto L_Forge_Thanks; + if (QL_TERRANITE_ARMOR == 7) && (BaseLevel >= 75) goto L_Legs_Ready; + if (QL_TERRANITE_ARMOR == 6) && (BaseLevel >= 75) goto L_Legs_Forge; + if (QL_TERRANITE_ARMOR == 5) && (BaseLevel >= 75) goto L_Legs; if (QL_TERRANITE_ARMOR == 5) goto L_Forge_Thanks; if (QL_TERRANITE_ARMOR == 4) && (BaseLevel >= 70) goto L_Hood_Ready; if (QL_TERRANITE_ARMOR == 3) && (BaseLevel >= 70) goto L_Hood_Forge; @@ -263,10 +265,10 @@ L_Arrows_Wait: L_Arrows_Ready: getinventorylist; - if ((checkweight("TerraniteArrow", 1000) == 0) || (@inventorylist_count == 100)) + if ((checkweight(TerraniteArrow, 1000) == 0) || (@inventorylist_count == 100)) goto L_InventoryNoSpace; QL_TERRANITE_ARMOR = 14; - getitem "TerraniteArrow", 1000; + getitem TerraniteArrow, 1000; 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 Arrows, 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; @@ -289,14 +291,14 @@ L_Arrows_Trade_Yes: || (countitem(TerraniteOre) < @TARROW_REQ_TERRA_ORE) ) goto L_Arrows_Trade_Wait; getinventorylist; - if ((checkweight("TerraniteArrow", 1500) == 0) || (@inventorylist_count == 100)) + if ((checkweight(TerraniteArrow, 1500) == 0) || (@inventorylist_count == 100)) goto L_InventoryNoSpace; delitem Coal, @TARROW_REQ_COAL; delitem TerraniteOre, @TARROW_REQ_TERRA_ORE; Zeny = Zeny - @TARROW_REQ_GP; @lucky = 5 * rand(Luk); @lucky$ = ""; - getitem "TerraniteArrow", 1000 + @lucky; + getitem TerraniteArrow, 1000 + @lucky; mes "[Heathin]"; if(@lucky>0) @lucky$ = " You are lucky, I could forge "+@lucky+" more arrows than expected."; -- cgit v1.2.3-60-g2f50