• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Item upgrader

Status
Not open for further replies.

Noven

Exalted Member
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++ ?
 

Foereaper

Founder
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.
 

Rochet2

Moderator / Eluna Dev
Hmm...
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.
 

Foereaper

Founder
Working on this now, is this something that could work visually?

When you cast the spell on the item:
grlu.png


When you click the gossip option:
ccP3G8s.png


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
 
Status
Not open for further replies.
Top