![]() |
|
[Suggestion] Random Enchant NPC - Printable Version +- Forums (https://uaro.kiev.ua/forum) +-- Forum: uaRO (https://uaro.kiev.ua/forum/forumdisplay.php?fid=1) +--- Forum: News & Support (https://uaro.kiev.ua/forum/forumdisplay.php?fid=37) +--- Thread: [Suggestion] Random Enchant NPC (/showthread.php?tid=254) |
[Suggestion] Random Enchant NPC - Marky - 02-12-2026 May i suggest an NPC which can give random enchants to items in exchange for zeny. Just small enchants that will not be overpowered but worthwhile investment and also provides additional zeny sink.
Some sample enchantments 1. WEAPON STR — 1–2 DEX — 1–2 INT — 1–2 ATK — 1–2% MATK — 1–2% Accuracy — 2–4% Critical Chance — 1–3% Critical Damage — 2–4% Casting Speed — 1–2% Attack Rate — 1–2% ATK — 2–10 MATK — 2–10 Skill Critical Chance — 1–2% Cooldown Reduction — 1–2% Damage Increase — 1–3% Damage to Formless — 1–3% Damage to Demon — 1–3% Damage to Demi-Human — 1–3% Damage to Beast — 1–3% Damage to Insect — 1–3% Damage to Undead — 1–3% Damage to Dragon — 1–3% Damage to Plant — 1–3% Damage to Fish — 1–3% Damage to Angel — 1–3% Damage to Small — 1–3% Damage to Medium — 1–3% Damage to Large — 1–3% Fire Elemental Damage — 5–10 Water Elemental Damage — 5–10 Wind Elemental Damage — 5–10 Earth Elemental Damage — 5–10 Holy Elemental Damage — 5–10 Shadow Elemental Damage — 5–10 Ghost Elemental Damage — 5–10 2. SHIELD Healing Effects — 2–4% Healing Received — 2–4% VIT — 1–2 AGI — 1–2 LUK — 1–2 PDEF — 1–2% MDEF — 1–2% Max HP — 1–2% Max MP — 1–2% PDEF — 6–30 MDEF — 6–30 Damage Reduction: Formless — 1–3% Damage Reduction: Demon — 1–3% Damage Reduction: Demi-Human — 1–3% Damage Reduction: Beast — 1–3% Damage Reduction: Insect — 1–3% Damage Reduction: Undead — 1–3% Damage Reduction: Dragon — 1–3% Damage Reduction: Plant — 1–3% Damage Reduction: Fish — 1–3% Damage Reduction: Angel — 1–3% Damage Reduction: Small — 1–3% Damage Reduction: Medium — 1–3% Damage Reduction: Large — 1–3% Fire Resistance — 5–10 Water Resistance — 5–10 Wind Resistance — 5–10 Earth Resistance — 5–10 Holy Resistance — 5–10 Shadow Resistance — 5–10 Ghost Resistance — 5–10 Stun Resistance — 5–10% Blind Resistance — 5–10% Sleep Resistance — 5–10% Silence Resistance — 5–10% 3. HEADGEAR (Top/Middle/Bottom) STR — 1–2 DEX — 1–2 INT — 1–2 MP Recovery — 4–20 PDEF — 1–2% MDEF — 1–2% Accuracy — 2–4% Critical Chance — 1–3% Critical Damage — 2–4% Casting Speed — 1–2% PDEF — 6–30 MDEF — 6–30 Skill Critical Chance — 1–2% Cooldown Reduction — 1–2% Damage to Formless — 1–3% Damage to Demon — 1–3% Damage to Demi-Human — 1–3% Damage to Beast — 1–3% Damage to Insect — 1–3% Damage to Undead — 1–3% Damage to Dragon — 1–3% Damage to Plant — 1–3% Damage to Fish — 1–3% Damage to Angel — 1–3% Damage to Normal — 1–3% Damage to Boss — 1–3% Stun Resistance — 5–10% Blindness Resistance — 5–10% Sleep Resistance — 5–10% Silence Resistance — 5–10% 4. ARMOR VIT — 1–2 AGI — 1–2 LUK — 1–2 PDEF — 1–2% MDEF — 1–2% Max HP — 1–2% Max MP — 1–2% PDEF — 6–30 MDEF — 6–30 Damage Reduction: Formless — 1–3% Damage Reduction: Demon — 1–3% Damage Reduction: Demi-Human — 1–3% Damage Reduction: Beast — 1–3% Damage Reduction: Insect — 1–3% Damage Reduction: Undead — 1–3% Damage Reduction: Dragon — 1–3% Damage Reduction: Plant — 1–3% Damage Reduction: Fish — 1–3% Damage Reduction: Angel — 1–3% Damage Reduction: Small — 1–3% Damage Reduction: Medium — 1–3% Damage Reduction: Large — 1–3% Fire Resistance — 5–10 Water Resistance — 5–10 Wind Resistance — 5–10 Earth Resistance — 5–10 Holy Resistance — 5–10 Shadow Resistance — 5–10 Ghost Resistance — 5–10 Knockback Resistance — 5–10% Slow Resistance — 5–10% Entangle Resistance — 5–10% Stone Curse Resistance — 5–10% 5. GARMENT VIT — 1–2 AGI — 1–2 LUK — 1–2 HP Recovery — 20–100 PDEF — 1–2% MDEF — 1–2% Attack Rate — 1–2% PDEF — 6–30 MDEF — 6–30 Damage Reduction: Formless — 1–3% Damage Reduction: Demon — 1–3% Damage Reduction: Demi-Human — 1–3% Damage Reduction: Beast — 1–3% Damage Reduction: Insect — 1–3% Damage Reduction: Undead — 1–3% Damage Reduction: Dragon — 1–3% Damage Reduction: Plant — 1–3% Damage Reduction: Fish — 1–3% Damage Reduction: Angel — 1–3% Damage Reduction: Small — 1–3% Damage Reduction: Medium — 1–3% Damage Reduction: Large — 1–3% Fire Resistance — 5–10 Water Resistance — 5–10 Wind Resistance — 5–10 Earth Resistance — 5–10 Holy Resistance — 5–10 Shadow Resistance — 5–10 Ghost Resistance — 5–10 Stun Resistance — 5–10% Blindness Resistance — 5–10% Sleep Resistance — 5–10% Silence Resistance — 5–10% 6. SHOES Healing Effects — 2–4% Healing Received — 2–4% VIT — 1–2 AGI — 1–2 LUK — 1–2 HP Recovery — 20–100 MP Recovery — 4–20 PDEF — 1–2% MDEF — 1–2% Accuracy — 2–4% Critical Chance — 1–3% Movement Speed — 2–4% PDEF — 6–30 MDEF — 6–30 PDEF Penetration — 15–105 MDEF Penetration — 15–105 Damage to Normal — 1–3% Damage to Boss — 1–3% Knockback Resistance — 5–10% Slow Resistance — 5–10% Entangle Resistance — 5–10% Stone Curse Resistance — 5–10% 7. ACCESSORY STR — 1–2 DEX — 1–2 INT — 1–2 VIT — 1–2 AGI — 1–2 LUK — 1–2 ATK — 1–2% MATK — 1–2% ATK — 2–10 MATK — 2–10 HP Recovery — 20–100 MP Recovery — 4–20 Accuracy — 2–4% Critical Chance — 1–3% Critical Damage — 2–4% Casting Speed — 1–2% Attack Rate — 1–2% Movement Speed — 2–4% Cooldown Reduction — 1–2% Skill Critical Chance — 1–2% Max HP — 50–250 Max MP — 10–50 PDEF — 1–2% MDEF — 1–2% PDEF — 6–30 MDEF — 6–30 PDEF Penetration — 15–105 MDEF Penetration — 15–105 Damage to Formless — 1–3% Damage to Demon — 1–3% Damage to Demi-Human — 1–3% Damage to Beast — 1–3% Damage to Insect — 1–3% Damage to Undead — 1–3% Damage to Dragon — 1–3% Damage to Plant — 1–3% Damage to Fish — 1–3% Damage to Angel — 1–3% Damage to Small — 1–3% Damage to Medium — 1–3% Damage to Large — 1–3% Damage to Normal — 1–3% Damage to Boss — 1–3% Damage Reduction: Formless — 1–3% Damage Reduction: Demon — 1–3% Damage Reduction: Demi-Human — 1–3% Damage Reduction: Beast — 1–3% Damage Reduction: Insect — 1–3% Damage Reduction: Undead — 1–3% Damage Reduction: Dragon — 1–3% Damage Reduction: Plant — 1–3% Damage Reduction: Fish — 1–3% Damage Reduction: Angel — 1–3% Damage Reduction: Small — 1–3% Damage Reduction: Medium — 1–3% Damage Reduction: Large — 1–3% Damage Reduction: Normal — 1–3% Fire Elemental Damage — 5–10 Water Elemental Damage — 5–10 Wind Elemental Damage — 5–10 Earth Elemental Damage — 5–10 Holy Elemental Damage — 5–10 Shadow Elemental Damage — 5–10 Ghost Elemental Damage — 5–10 Fire Resistance — 5–10 Water Resistance — 5–10 Wind Resistance — 5–10 Earth Resistance — 5–10 Holy Resistance — 5–10 Shadow Resistance — 5–10 Ghost Resistance — 5–10 Knockback Resistance — 5–10% Slow Resistance — 5–10% Entangle Resistance — 5–10% Stone Curse Resistance — 5–10% Stun Resistance — 5–10% Blindness Resistance — 5–10% Sleep Resistance — 5–10% Silence Resistance — 5–10% RE: [Suggestion] Random Enchant NPC - Sergio - 02-12-2026 The idea is good, but it needs to be described in more detail. We need to understand the mechanics—how do you envision them working? What kind of items should be eligible for enchantments? (e.g., forged, pristine, or slotted items) Should this be limited to clothing and weapons only? What should the dialogue with an NPC look like? How do you see the relationship between the cost, the quality, and the number of enchantments? A more specific list of enchants—essentially, they will serve as replacements for the cards you’d otherwise have to grind for. RE: [Suggestion] Random Enchant NPC - Marky - 02-12-2026 (8 hours ago)Sergio Wrote: The idea is good, but it needs to be described in more detail. We need to understand the mechanics—how do you envision them working? 1. What kind of items should be eligible for enchantments? How do you envision them working? Pristine equipment - buyable from NPC/nonslotted version or -1 slot monster drops/ - up to 1 slot only - random enchantment Forged weapons - Yes , Allow but restricted weapon-specific enchantments only Full Slotted equipment - Yes, with restrictions My recommendation: - To prevent excessive stacking, each enchantment in each slot should be unique, cannot have exact echantment in next slots - MVP and rare equipment should have stricter limits. - Costume items should not be eligible. - Each equipment category has its own enchantment pool. - Equipment never destroyed on failure. - No stacking multiple copies of the same enchantment. [*]- Source and destination must be the same equipment type. [*]- Destination must have enough available enchantment slots. [*]- Transfer moves enchantments rather than copying them. [*]- Original equipment loses the transferred enchantments. How do you envision them working? Make enchantments a supplementary system rather than a complete replacement for cards. Players should still have a reason to hunt cards, especially rare and MVP cards. Enchantments should make alternative builds viable and provide another progression path. 2. Should this be limited to clothing and weapons only? No. I recommend allowing all conventional equipment slots, with different enchantment categories. Equipment slot enchantment focus Weapon - ATK, MATK, critical, size damage, race damage, elemental damage, ASPD (Forged Weapons can only have 1 slot with random enchantment) Shield - DEF, elemental resistance, damage reduction Headgear - Stats, HP/SP, casting, status resistance Armor - VIT, HP, DEF, damage reduction Garment - Elemental resistance, race resistance, defensive bonuses Shoes - HP/SP, movement, defensive bonuses Accessories - Stats, critical, damage bonuses, heal strength 3. What should the dialogue with an NPC look like? Suggested NPC flow: Enchantment Master Welcome, adventurer! I can imbue your equipment with special properties to enhance its abilities. What would you like to do? 1. Add Enchantment slot Select an eligible equipment item from your inventory. (Maximum of 3) 2. Enchant Equipment Select an eligible equipment item from your inventory with enchantment slot. (First roll in each slot can select enchantment category. This should enable players to choose a build path while retaining randomness.) 3. Re-enchant Equipment Replace existing enchantments with random ones. 4. Transfer Enchantments Transfer existing enchantments to another equipment of same type. 5. Enchantment Information View requirements, costs, success rates, and restrictions. Recommended process: 1. Player selects an eligible item. 2. NPC displays its current enchantments and available enchantment slots. 3. Player selects the desired enchantment category or random enchantment option. 4. NPC displays the required Zeny and materials. 5. Player confirms. 6. The enchantment is applied, or the attempt fails according to the selected system. Example cost progression: Add first slot - 100,000 Guaranteed Add second slot - 300,000 Change to fail, may retry Add third slot - 500,000 Change to fail, may retry First slot enchantment 100,000 Second slot enchantment 300,000 Third slot enchantment 500,000 First slot re-enchantment 100,000 + 30% compunding cost per reroll Second slot re-enchantment 300,000 + 30% compounding cost per reroll Third slot re-enchantment 500,000 + 30% compounding cost per reroll - First slot enchantment: Guaranteed. - Second slot enchantment: Chance to get no enchancement, slightly better stats than first slot - Third slot enchantment: Chance to get no enchancement, slightly better stats than first and second slot - Re-enchantment: Replaces the selected existing enchantment. - No random destruction of equipment. - No enchantment stacking. Enchantment values STR / AGI / VIT / INT / DEX / LUK +1 ATK +3 to +5 MATK +3 to +5 Max HP +1–2% Max SP +1–2% DEF +1 MDEF +1 Critical Chance +1 Critical Damage +2-5% Attack Speed +1% - subject to rebalancing or disable if too overpowered Damage to Race +2–5% Damage to Size +2–5% Damage Reduction by Race +2–5% Elemental Resistance +2–5% Elemental Damage +2–5% HP Recovery +2–3% SP Recovery +2–3% Heal Strength +2-5% Casting Time Reduction +1–3% Status Resistance +3–5% I suggest not to include in enchantments for balancing purposes - Damage to Demi-Human - Damage Reduction from Demi-Human - Boss damage RE: [Suggestion] Random Enchant NPC - Sergio - 02-12-2026 I am against the mechanic that allows transferring an enchantment to another item. Forged weapons cannot be enchanted. The NPC who removes cards will need to be taught not to remove enchantments. Bonuses from the list that are not present in our pre-renewal engine: • Skill critical hit chance; • Skill cooldown — only "after-cast delay" (`bDelayrate`) exists, which can be used as an alternative; • Flat DEF/MDEF penetration — only percentage-based ignore exists; • Knockback resistance (%) — only full immunity exists; • "Slow" and "Entangle" — these status effects do not exist; • Percentage-based DEF/MDEF. Failure probabilities for the 2nd and 3rd slots, as well as for an empty result. I would suggest 70%/40% for adding a slot, and 15% for an empty result. Exclude Demi-Human and Boss damage Where should I place the NPC? Near the blacksmiths? Which items should be classified as "MVP/rare," and what restrictions should apply to them—for example, limiting them to a maximum of 1 slot, or prohibiting them entirely? Enchanting rented items is forbidden. RE: [Suggestion] Random Enchant NPC - Marky - 02-12-2026 Yes I agree with your changes. You can place NPC near Blacksmiths in towns. I removed inclusion of MVP and rare items. I think its better not to include a premium tier for them. My thinking is this will be just for fun, alternative progression and builds, and additional zeny sink. I also added for reroll addtional 30% compounding cost for each reroll. RE: [Suggestion] Random Enchant NPC - Sergio - 02-12-2026 По зачарованиям. Со старым клиентом совместим только один способ: камень кладётся в ячейку карты. Его и бэкпортируем. Что можно взять Apprentice Craftsman — официальный pre-renewal зачарователь брони в Prontera 165,60. Исходник: enchan_arm.txt, есть и в rAthena pre-re, и в Hercules. • Берёт броню (без слотов, со слотами или High Grade) и 400k zeny. • Кладёт в последнюю ячейку случайный STR/INT/DEX/AGI/VIT/LUK +1…+3. • Камни 4700–4759 у нас в item_db уже есть. • Чистый pre-re, новых пакетов нет. У нас этого NPC нет. Скрипт придётся переписать на наш eAthena-синтаксис: set вместо .@x = и т.п. Что уже стоит у нас (бэкпорты из rAthena): ko, mal, mora, upg, illusion, rockridge, verus, sage_legacy, socket_enchant и socket_enchant2. Механизм тот же. Я проверил камни, которые они выдают: • mal — 21 id нет в item_db; • mora — 25 id нет; • illusion — 61 id нет, ещё 25 id больше 32767 и в ячейку карты не влезают; • upg — 7 id нет; • rockridge — 2 id больше 32767. То есть часть уже работающих NPC выдаёт пустые камни: бонуса нет, клиент видит неизвестный предмет. Починка: добавить недостающие камни в item_db, а id больше 32767 переназначить на свободные номера ниже 32768. Чего старому клиенту не перенести: • enchantgrade (у нас уже выключен); • окно item_enchant (2022); • random options. Всё это требует новых пакетов и окон клиента. Как не сломать нашу механику: • Камни кладутся только в ячейки выше числа слотов предмета. Карту туда игрок вставить не может, поэтому конфликта с картами нет. • Кованое оружие и яйца не трогаем: у них эти ячейки уже заняты. • Проверю NPC снятия карт, чтобы они не снимали и не теряли камни. • Рефайн и карты при зачаровании сохраняются: делаю через getequipcardid и getitem2, как в mal и mora. Предлагаю такой порядок: 1) аудит и починка камней в уже стоящих NPC; 2) бэкпорт Apprentice Craftsman; 3) свой NPC по Marky после твоих ответов. камни нужно портировать и откорректировать для старого клиента RE: [Suggestion] Random Enchant NPC - Marky - 02-12-2026 Suggest also to change Damage to Race +2–5% to 1-3% Damage to Size +2–5% to 1-3% Damage Reduction by Race +2–5% to 1-3% Elemental Resistance +2–5% to 1-3% Elemental Damage +2–5% to 1-3% to prevent extreme stacking from several equipments or enforce also maximum cap for resistances/elemental damage/damage reduction? RE: [Suggestion] Random Enchant NPC - Sergio - 02-12-2026 I suggest making the reroll cost a fixed amount. It’s too complex for our engine. RE: [Suggestion] Random Enchant NPC - Marky - 02-12-2026 (6 hours ago)Sergio Wrote: I suggest making the reroll cost a fixed amount. It’s too complex for our engine. I understand sir. Please check also your reply above in ukrainian language. It seems intended for developers. RE: [Suggestion] Random Enchant NPC - Sergio - 02-12-2026 Instead of a hard cap, I propose a breakdown by item type: damage bonuses against specific races or sizes should only appear on weapons and accessories, while defense bonuses against specific races or elements should be restricted to armor, shields, and cloaks. Additionally, duplicate bonuses on a single item should be prohibited. Under this system, the maximum bonus would be roughly 3 items × 3% ≈ 9%. Since this is less than the value of a single card (typically 20%), cards would remain the primary source of such bonuses. 1–3% — yes • First roll: should we keep the category selection option? • In its official version, the "Apprentice Craftsman" removes refine levels and cards, and—in the event of failure (28–40% chance)—destroys the armor. Should we implement it as is, make it more lenient (refine levels and cards are preserved, and the item is not destroyed), or omit it entirely? RE: [Suggestion] Random Enchant NPC - Marky - 02-12-2026 that 9% maximum and further restriction in enchantment pool is great! I suggest keep first roll selectable category for first slot only to enable player to partially choose build they want and make it more lenient, no item breaking and refine levels and cards are preserved. RE: [Suggestion] Random Enchant NPC - Sergio - 02-12-2026 How does the "Apprentice Craftsman" mechanic interact with the new NPC? I propose treating an "Apprentice" stone as the first enchantment slot. In this scenario, the new NPC would only add slots 2 and 3 to such armor, while re-rolling slot 1 would overwrite the "Apprentice" stone. Otherwise, a single item could end up with two different stones occupying the same slot. Regarding the "Apprentice" mechanic—should it be a "soft" implementation (where the currency is lost upon failure, but the item remains intact and un-enchanted), or should it always succeed? In the original version, the success rates are 36/50 (without slots), 36/55 (with slots), and 36/60 (High Grade). I suggest keeping these odds: a failure means the 400k cost is lost, but the item remains safe and without a stone. Also, let’s allow for re-rolling, where a new stone replaces the existing one. Are the costs—100k / 300k / 500k per slot, with re-rolls at the same price—final? Marky, please confirm. RE: [Suggestion] Random Enchant NPC - Marky - 03-12-2026 I propose treating an "Apprentice" stone as the first enchantment slot. - Yes I agree, this should simplify coding and avoid bugs currency is lost upon failure, but the item remains intact and un-enchanted - Yes I also agree with this, it adds challenge and vallue for enchantments allow for re-rolling - Yes please, adds randomness and allows alternate builds Are the costs—100k / 300k / 500k per slot, with re-rolls at the same price—final - Yes this is reasonable for our server RE: [Suggestion] Random Enchant NPC - Sergio - 03-12-2026 Consolidated: Enchantments (tid=254) — the final outcome of all decisions Mechanics • An enchantment stone is placed into a dedicated slot located above the item's existing card slots (cards cannot be placed here). Cards and stones do not interfere with one another; the "Card Remover" item does not remove enchantment stones (this is already implemented in the code). No new "sockets" are added to the item itself. • Up to 4 enchantments are possible, depending on the number of available slots: an item with 0 slots gets 4, 1 slot gets 3, 2 slots get 2, 3 slots get 1, and 4 slots get 0. • There is no separate "add slot" step: each attempt places a stone into the next available slot. Cost and Success Rates (fixed, no additional fees for re-rolling) • 1st slot: 100,000 Zeny, 100% success rate. • 2nd slot: 300,000 Zeny, 70% success rate. • 3rd and 4th slots: 500,000 Zeny, 40% success rate. • On failure, the Zeny is lost, but the item remains intact; you may try again. (I have applied the 70%/40% success rates you suggested to these attempts—please let me know if you intended otherwise.) • Re-rolling: You select a slot, and a new, randomly generated stone replaces the existing one; the cost is the same as that of the original slot. • The initial roll is completely random, with no option to select a specific category. Stone Strength by Slot • 1st slot: Lower-tier values (+1 stat, 1%). • 2nd slot: Mid-tier values (2%). • 3rd and 4th slots: Upper-tier values (+2 stats, 3%). Apprentice Craftsman (official pre-re armor enchanter, Prontera) • The stone used here occupies the 1st enchantment slot. A new NPC will allow for the addition of slots 2 through 4; re-rolling the 1st slot will replace the Apprentice stone. • "Soft" option: Costs 400,000 Zeny. Success rates are 36/50 (for items without existing slots), 36/55 (for items with slots), and 36/60 (for High Grade items). On failure, the 400,000 Zeny is lost, but the item remains intact and empty of any enchantment stone. Re-rolling is permitted. Eligible Items • All standard equipment: weapons, armor, shields, garments, footwear, headgear, and accessories. • Excluded: Forged weapons, MVP-dropped or rare items, costumes, and rented items (this restriction is already implemented in the code — main 0c4d0e57). • Enchantments cannot be transferred from one item to another. Bonus Pool • Each item type has its own specific pool (based on Marky’s list); bonuses cannot be duplicated on a single item. • Damage bonuses against specific races or sizes apply only to weapons and accessories; resistance bonuses against races or elements apply only to armor, shields, and garments. This results in a maximum of approximately 3 items × 3% = 9%—less than the value of a single card (20%)—ensuring that cards remain the primary source of such bonuses. • Damage/resistance values for races, sizes, and elements range from 1% to 3%. • Removed: Damage against Demi-Humans, resistance to Demi-Humans, and damage against Boss-type monsters. Damage against non-Boss (regular) monsters remains. • Features not supported by our engine have been replaced: – Cooldown → After-cast delay. – "PDEF/MDEF penetration" → % defense ignore; – "PDEF %" → % DEF from equipment; – Elemental damage "5–10" → % damage against a target's element (1–3%). • Removed: skill crit, resistance to knockback / slow / entangle. NPC • Located in all towns that have a blacksmith. • Menu: Enchant (next available slot) · Reroll slot · Information (prices, success rates, restrictions). Before confirming, it displays the item's current stones and available slots. Clients • The old client will see new stones as "unknown" — this is intentional. • BornRok retrieves stone names and descriptions from the server (via a new packet) rather than from the GRF. ---- Task accepted. RE: [Suggestion] Random Enchant NPC - Marky - 03-12-2026 Looks good. Thank you sir |