Support byproduct to update quests for craft updates
This commit is contained in:
parent
55dd33e947
commit
2c49d9c76e
@ -495,6 +495,7 @@ void TradeskillMgr::StopCrafting(Client* client, bool lock) {
|
|||||||
byproductItem->details.count = byproduct_qty;
|
byproductItem->details.count = byproduct_qty;
|
||||||
client->Message(CHANNEL_COLOR_CHAT_RELATIONSHIP, "You received %s as a byproduct.", byproductItem->CreateItemLink(client->GetVersion()).c_str());
|
client->Message(CHANNEL_COLOR_CHAT_RELATIONSHIP, "You received %s as a byproduct.", byproductItem->CreateItemLink(client->GetVersion()).c_str());
|
||||||
client->AddItem(byproductItem);
|
client->AddItem(byproductItem);
|
||||||
|
client->GetPlayer()->CheckQuestsCraftUpdate(byproductItem, byproduct_qty);
|
||||||
}
|
}
|
||||||
//Check for crafting quest updates
|
//Check for crafting quest updates
|
||||||
int8 update_amt = 0;
|
int8 update_amt = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user