View Full Version : Item upgrader

02-14-2014, 01:14 PM
I was wondering, is it possible to make a item upgrader like mond wow had, when you right click on it, then on the item, it comes up a quest look a like tab which telling you that you can upgrade your item.

Is it possible via a lua script or would it require c++ ?

02-14-2014, 03:41 PM
It's definitely possible with C++, and I believe it would be possible with Lua as well, however Rochet would be better suited to answer that, as he's the one who've created the custom item hooks.

02-14-2014, 03:58 PM
Sounds like it could be possible with SQL, if you use quests that is.
Just make a proper quest and then add it to the startquest column for the item.

Otherwise if you want to use gossip windows, I think you need to have the item equipped to upgrade it, since items require to be equipped to use the spell on them usually (equippable items).

But yes its possible.

02-14-2014, 05:38 PM
I see

02-14-2014, 06:15 PM
Could you show me how I would go forward doing this?

02-15-2014, 08:20 PM
Working on this now, is this something that could work visually?

When you cast the spell on the item:

When you click the gossip option:

If you click cancel, then nothing happens. If you click accept, it removes the old item, and adds the new one.

If you find me a spell that would be usable on ANY item, then I can finish this for you :) I personally can't find one that requires an item target, as well as working with ANY item, so this might have to be handled differently, unless you want to use a custom spell and a patch that is.

We can also make it work as a quest, however you would need to make a separate quest for each item to be upgraded

02-20-2014, 08:33 AM
I'm guessing this is not wanted after all. I'll go ahead and scrap it and mark the thread as solved :)