diff options
author | Led Mitz <smoothshifter@tuta.io> | 2024-09-07 00:05:48 +0000 |
---|---|---|
committer | Led Mitz <smoothshifter@tuta.io> | 2024-09-07 00:05:48 +0000 |
commit | f972480ed0897cf38cb857bfd05183654617d6c2 (patch) | |
tree | 342c4a224f9707e651e9d63d9822cf572e098a08 /world/map | |
parent | 17c3e2bea302a10ab9af2970c9f8463af67413f2 (diff) | |
download | serverdata-f972480ed0897cf38cb857bfd05183654617d6c2.tar.gz serverdata-f972480ed0897cf38cb857bfd05183654617d6c2.tar.bz2 serverdata-f972480ed0897cf38cb857bfd05183654617d6c2.tar.xz serverdata-f972480ed0897cf38cb857bfd05183654617d6c2.zip |
Added trade option for Enchanter's Amulet, added +1 int to Scarab Armlet, made...
Added trade option for Enchanter's Amulet to Trader in store, added +1 int to Scarab Armlet(to gain usage again)~~, made Magic Ring a shield item with a min dex of 20 required(allows for normal gem ring use also)~~ and made amulet 1 in 3 chances(from 1 in 4) again at the swamp chest.
~~_This actually gives mages a boost, even if they need to spend stats for 20 dex to use the Magic Ring, since 20 dex costs less than 2 int points(in character points) at higher int(~100) and since they can make use of outfits anyway. Choices, choices!_~~
Reviewed-by: Hello TMW <hello@themanaworld.org>
Diffstat (limited to 'world/map')
-rw-r--r-- | world/map/db/item_db.conf | 1 | ||||
-rw-r--r-- | world/map/db/item_db_offhand.txt | 2 | ||||
-rw-r--r-- | world/map/npc/009-2/trader.txt | 28 | ||||
-rw-r--r-- | world/map/npc/099-7/boss.txt | 6 |
4 files changed, 33 insertions, 4 deletions
diff --git a/world/map/db/item_db.conf b/world/map/db/item_db.conf index 56d61dd2..b9c3ef1f 100644 --- a/world/map/db/item_db.conf +++ b/world/map/db/item_db.conf @@ -18070,6 +18070,7 @@ item_db: ( Refine: false ViewSprite: 585 Script: <" + bonus bInt, 1; bonus bMatkRate, 5; // @EVOL2 "> }, diff --git a/world/map/db/item_db_offhand.txt b/world/map/db/item_db_offhand.txt index 39d5d4a4..36aee645 100644 --- a/world/map/db/item_db_offhand.txt +++ b/world/map/db/item_db_offhand.txt @@ -2,7 +2,7 @@ //DO NOT EDIT IT DIRECTLY //Edit item_db.conf instead! //ID, Name, Type, Price, Sell, Weight, ATK, DEF, Range, Mbonus, Slot, Gender, Loc, wLV, eLV, View, Mode, {UseScript}, {EquipScript} -585, ScarabArmlet, 5, 8000, 4000, 200, 0, 0, 0, 5, 0, 2, 32, 0, 1, 0, 0, {}, {} +585, ScarabArmlet, 5, 8000, 4000, 200, 0, 0, 0, 5, 0, 2, 32, 0, 1, 0, 0, {}, {bonus bInt, 1;} 601, SteelShield, 5, 40000, 3000, 2500, 0, 20, 0, -200, 0, 2, 32, 0, 0, 0, 0, {}, {} 602, WoodenShield, 5, 10000, 2000, 1500, 0, 14, 0, -70, 0, 2, 32, 0, 0, 0, 0, {}, {} 603, LeatherShield, 5, 2000, 1000, 1300, 0, 7, 0, -35, 0, 2, 32, 0, 0, 0, 0, {}, {} diff --git a/world/map/npc/009-2/trader.txt b/world/map/npc/009-2/trader.txt index 46ccafac..8eff2988 100644 --- a/world/map/npc/009-2/trader.txt +++ b/world/map/npc/009-2/trader.txt @@ -62,6 +62,7 @@ L_Trademenu: "Do you have Iron Powder?", L_Iron, "How about Sulphur Powder?", L_Sulphur, "I need Medium Healing Potions.", L_Healpots, + "I'd like to acquire an Enchanter's Amulet.", L_Eamulet, "I think I have everything I need, thanks.", L_Close; L_Iron: @@ -85,6 +86,13 @@ L_Healpots: "Alright.", L_Pots, "Whoa, that's way too much.", L_Close; +L_Eamulet: + mes "[Trader]"; + mes "\"These amulets are quite rare. Three times as rare as a Magic Ring, they say. I do have one though and would trade it off for three Magic Rings and thirteen Blood Stones. I've had a hard time finding those stones.\""; + menu + "Alright.", L_GetEamuletConfirm, + "I'd better check the shops out first.", L_Close; + L_Ipowder: if (countitem("IronOre") < 1) goto L_Missing; if (Zeny < @Ironprice) goto L_NotEnoughMoney; @@ -127,6 +135,26 @@ L_Pots: "Yes.", L_Trademenu, "No.", L_No; +L_GetEamuletConfirm: + mes "[Trader]"; + mes "\"Are you sure you wish to trade for the Enchanter's Amulet? All trades are final.\""; + menu + "No, I'd better think this over a bit more.", L_No, + "No thanks. I've changed my mind. What else do you trade, again?", L_Trademenu, + "Yes, I'm positive.", L_GetEamulet; + +L_GetEamulet: + if (countitem("MageRing") < 3) goto L_Missing; + if (countitem("Bloodstone") < 13) goto L_Missing; + delitem "MageRing", 3; + delitem "Bloodstone", 13; + getitem "EnchantersAmulet", 1; + mes "[Trader]"; + mes "\"Make good use of your new amulet. Would you like to trade anything else?\""; + menu + "Yes.", L_Trademenu, + "No.", L_No; + L_Full: mes "[Trader]"; mes "\"You must have been making a lot of trades...your bag is completely full! Come back after you've made some room.\""; diff --git a/world/map/npc/099-7/boss.txt b/world/map/npc/099-7/boss.txt index 7d68bca8..afbec8fe 100644 --- a/world/map/npc/099-7/boss.txt +++ b/world/map/npc/099-7/boss.txt @@ -694,8 +694,8 @@ L_FlawedLens: L_Rare: getexp 15000000, 0; set KESHLAM_STATE, KESHLAM_STATE | FLAG_KESHLAM_RAREDROP; - if (rand(4) == 1) goto L_Amulet; // 25% chance - goto L_Ring; // 75% chance + if (rand(3) == 1) goto L_Amulet; // 33.33% chance + goto L_Ring; // 66.66% chance L_Amulet: getitem "EnchantersAmulet", 1; @@ -706,7 +706,7 @@ L_Amulet: L_Ring: getitem "MageRing", 1; mes "[Chest]"; - mes "You opened it and found...! A Mage Ring! Lucky!"; + mes "You opened it and found...! A Magic Ring! Lucky!"; close; L_Not_Enough: |