More hooks for Scripts/Modules (#270)
This commit is contained in:
@@ -1727,6 +1727,8 @@ void Spell::DoCreateItem(uint8 /*effIndex*/, uint32 itemId)
|
||||
|
||||
// send info to the client
|
||||
player->SendNewItem(pItem, addNumber, true, SelfCast);
|
||||
|
||||
sScriptMgr->OnCreateItem(player, pItem, addNumber);
|
||||
|
||||
// we succeeded in creating at least one item, so a levelup is possible
|
||||
if (SelfCast)
|
||||
|
||||
Reference in New Issue
Block a user