mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-02 08:26:36 +00:00
[Bug Fix] Fix Item Discovery (#4663)
* [Bug Fix] Fix Item Discovery for Pickups, Evolving, Fishing, and Forage * Push * Caching * Update tradeskills.cpp * Update task_client_state.cpp
This commit is contained in:
@@ -393,6 +393,8 @@ void Client::GoFish(bool guarantee, bool use_bait)
|
||||
RecordPlayerEventLog(PlayerEvent::FISH_SUCCESS, e);
|
||||
}
|
||||
|
||||
CheckItemDiscoverability(inst->GetID());
|
||||
|
||||
if (parse->PlayerHasQuestSub(EVENT_FISH_SUCCESS)) {
|
||||
std::vector<std::any> args = {inst};
|
||||
parse->EventPlayer(EVENT_FISH_SUCCESS, this, "", inst->GetID(), &args);
|
||||
@@ -531,6 +533,8 @@ void Client::ForageItem(bool guarantee) {
|
||||
RecordPlayerEventLog(PlayerEvent::FORAGE_SUCCESS, e);
|
||||
}
|
||||
|
||||
CheckItemDiscoverability(inst->GetID());
|
||||
|
||||
if (parse->PlayerHasQuestSub(EVENT_FORAGE_SUCCESS)) {
|
||||
std::vector<std::any> args = { inst };
|
||||
parse->EventPlayer(EVENT_FORAGE_SUCCESS, this, "", inst->GetID(), &args);
|
||||
|
||||
Reference in New Issue
Block a user