mirror of
https://github.com/Melledy/Nebula.git
synced 2026-11-04 21:36:51 +01:00
Rework how quest/achievement conditions are handled
This commit is contained in:
1 parent
a04f3354f7
commit
6f7a92725a
21 files changed
+143
-71
No files matched your search
@@ -13,7 +13,7 @@ public class HandlerClientEventReportReq extends NetHandler {
|
||||
@Override
|
||||
public byte[] handle(GameSession session, byte[] message) throws Exception {
|
||||
// Interact
|
||||
session.getPlayer().triggerQuest(QuestCondition.ClientReport, 1, 1005);
|
||||
session.getPlayer().trigger(QuestCondition.ClientReport, 1, 1005);
|
||||
|
||||
// Encode response
|
||||
return session.encodeMsg(NetMsgId.client_event_report_succeed_ack, Nil.newInstance());
|
||||
|
||||
Reference in new issue
Block a user