mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-30 18:40:14 +08:00
Fixed dungeon challenge scoreboard and implement dungeon drops
Also fixed a few dungeon script handlers
This commit is contained in:
+3
-1
@@ -8,12 +8,14 @@ import emu.grasscutter.net.proto.DungeonChallengeBeginNotifyOuterClass.DungeonCh
|
||||
public class PacketDungeonChallengeBeginNotify extends BasePacket {
|
||||
|
||||
public PacketDungeonChallengeBeginNotify(DungeonChallenge challenge) {
|
||||
super(PacketOpcodes.DungeonChallengeBeginNotify);
|
||||
super(PacketOpcodes.DungeonChallengeBeginNotify, true);
|
||||
|
||||
DungeonChallengeBeginNotify proto = DungeonChallengeBeginNotify.newBuilder()
|
||||
.setChallengeId(challenge.getChallengeId())
|
||||
.setChallengeIndex(challenge.getChallengeIndex())
|
||||
.setGroupId(challenge.getGroup().id)
|
||||
.addParamList(challenge.getObjective())
|
||||
.addParamList(challenge.getTimeLimit())
|
||||
.build();
|
||||
|
||||
this.setData(proto);
|
||||
|
||||
Reference in New Issue
Block a user