View Full Version : Ultimate Enchanting NPC

05-25-2013, 06:22 PM
What this script does

Dynamically generates lists and pages of enchants for the particular slot you choose.
Only gives enchants appropriate to your level (No level 60 enchants at level 20 etc).
Only gives enchants appropriate to the item's level (No mongoose on starter weapons).
Not able to be abused (As far as I know).

What this script doesn't do

Enchant head slot.
Enchant leg slot.
Enchant shoulder slot.

Those features will most likely be added at a later date when I have more time to test.

Link: http://pastebin.com/Mn7HCG5K

05-25-2013, 06:23 PM
Great coding style and method, thanks for releasing :)

05-25-2013, 06:30 PM
Nice! Thanks for the share. Nice and small script with powerful results

05-25-2013, 06:36 PM
Thanks for the release, good work.

05-25-2013, 07:35 PM
Yay! Awesome stuff being shared again. Thanks!

05-26-2013, 04:26 PM
Looks nice. Tested this and it worked nice too. Good script for starters.

05-26-2013, 08:07 PM
Thanks :D I appreciate it.

05-28-2013, 10:34 PM
Could u perhaps make a version that wil require gold per enchant? :D like 10-20g per enchant or so ?

05-29-2013, 08:40 AM
Could u perhaps make a version that wil require gold per enchant? :D like 10-20g per enchant or so ?

Different prices for each slot? Or just one price for all?

05-29-2013, 03:48 PM
i'm surprised about this one, gg wp brah! ;)

01-31-2014, 10:35 AM
really awesome! please update head, shoulders, legs and fingers!

01-31-2014, 05:36 PM
Those are all enchants that you acquire outside of the enchanting skill, which I left out. If I ever have the time I might add those as well.

02-06-2014, 05:49 PM
hey Parranoia!
Is there a way to apply gems to sockets with your enchant function??

02-07-2014, 02:15 AM
Not directly with anything I wrote, but I would imagine a slight modification of these lines would be able to accomplish it.

player->ApplyEnchantment(item, PERM_ENCHANTMENT_SLOT, false);
item->SetEnchantment(PERM_ENCHANTMENT_SLOT, enchantID, 0, 0);
player->ApplyEnchantment(item, PERM_ENCHANTMENT_SLOT, true);

Obviously some things are going to have to change, but that is basically the core of removing and adding enchants. Last I checked, sockets/gems worked in the same manner.

02-09-2014, 04:18 PM
Awesome stuff :)