mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[11646] Implement support item converting at expire
Example: items 44623->44625->44627 convertion chain * New table `item_enchantment_template` store original->final item pairs Original item must have duration setup. * Small change in GetItemConvert for consistence (now 0 returned if no convert pair instead original entry id) Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
a97370a7f0
commit
2d7768a5ab
10 changed files with 117 additions and 13 deletions
|
|
@ -1010,12 +1010,15 @@ void World::SetInitialWorldSettings()
|
|||
sLog.outString( "Loading Item Random Enchantments Table..." );
|
||||
LoadRandomEnchantmentsTable();
|
||||
|
||||
sLog.outString( "Loading Items..." ); // must be after LoadRandomEnchantmentsTable and LoadPageTexts
|
||||
sLog.outString("Loading Items..."); // must be after LoadRandomEnchantmentsTable and LoadPageTexts
|
||||
sObjectMgr.LoadItemPrototypes();
|
||||
|
||||
sLog.outString( "Loading Item converts..." ); // must be after LoadItemPrototypes
|
||||
sLog.outString("Loading Item converts..."); // must be after LoadItemPrototypes
|
||||
sObjectMgr.LoadItemConverts();
|
||||
|
||||
sLog.outString("Loading Item expire converts..."); // must be after LoadItemPrototypes
|
||||
sObjectMgr.LoadItemExpireConverts();
|
||||
|
||||
sLog.outString( "Loading Creature Model Based Info Data..." );
|
||||
sObjectMgr.LoadCreatureModelInfo();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue