mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-06 18:42:27 +00:00
[Quest API] Optionally parse EVENT_TEST_BUFF (#2920)
# Notes - Optionally parse this event instead of always doing so.
This commit is contained in:
parent
bc6efd5f74
commit
c060280417
@ -14445,8 +14445,10 @@ void Client::Handle_OP_TestBuff(const EQApplicationPacket *app)
|
|||||||
if (!RuleB(Character, EnableTestBuff)) {
|
if (!RuleB(Character, EnableTestBuff)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
parse->EventPlayer(EVENT_TEST_BUFF, this, "", 0);
|
|
||||||
return;
|
if (parse->PlayerHasQuestSub(EVENT_TEST_BUFF)) {
|
||||||
|
parse->EventPlayer(EVENT_TEST_BUFF, this, "", 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Client::Handle_OP_TGB(const EQApplicationPacket *app)
|
void Client::Handle_OP_TGB(const EQApplicationPacket *app)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user