Quote:
Originally Posted by hneko
Hello Guys I wanna make Upgrade system but without using a scroll for example you just use the alchemy with some stones that you collect in order to upgrade your devil into another one Type S for example how can you do such a thing? 
|
You can use any type of custom item as "alchemy element", if you use the same TIDs of any vanilla element (water,...). You can create a new alchemy tablet and use your elements as requirement. There must be 4 different elements for each tablet you create (you can use vanilla elements to fill up).
The tablet output can be anything you want, in this case you can define your devil type as output (need F and M tablet + colors).
To use an existing devil (or any other non alchemy element item), you need to create an exchange event with lua (see jewel box event). Instead of jewel boxes you can exchange any devil and output an "devil alchemy element" for your tablet.
Notes:
- the exchange event will accept any item of the correct item obj ID. It does not check for alchemy/plus of the item.
- you will always receive a clean item, if you use alchemy to create the output
- If you want to keep the alchemy status (plus/stats), you need to create a stored procedure and link it to a scroll. Like that you can simply replace the item obj ID at the item serial and keep all other stats.
I've attached some examples for custom tablet alchemy.
Inputs:
ITEM_EU_WEAPON_ELEMENT_DAGGER_D11
ITEM_ETC_ELEMENT_WEAPON_D11
ITEM_ETC_ELEMENT_GEM_D11
ITEM_ETC_ELEMENT_GOD_D11
Output:
ITEM_EU_DAGGER_11_SET_A_RARE
There is also a lua example attached for a custom exchange event, to exchange items into alchemy elements.