mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-23 10:44:36 +01:00
Fix SU blessing selector and menu
This commit is contained in:
@@ -277,7 +277,7 @@ public class RogueInstance {
|
||||
|
||||
var data = HandleRogueCommonPendingActionScRsp.newInstance();
|
||||
data.getMutableRogueBuffSelect();
|
||||
data.setTimes(this.actionUniqueId - 2);
|
||||
data.setActionUniqueId(this.actionUniqueId - 2);
|
||||
this.getPlayer().sendPacket(new PacketHandleRogueCommonPendingActionScRsp(data));
|
||||
return buff;
|
||||
}
|
||||
@@ -355,7 +355,7 @@ public class RogueInstance {
|
||||
|
||||
var data = HandleRogueCommonPendingActionScRsp.newInstance();
|
||||
data.getMutableMiracleSelect();
|
||||
data.setTimes(this.actionUniqueId - 2);
|
||||
data.setActionUniqueId(this.actionUniqueId - 2);
|
||||
this.getPlayer().sendPacket(new PacketHandleRogueCommonPendingActionScRsp(data));
|
||||
return miracle;
|
||||
}
|
||||
@@ -402,7 +402,7 @@ public class RogueInstance {
|
||||
// TODO: add event
|
||||
var data = HandleRogueCommonPendingActionScRsp.newInstance();
|
||||
data.getMutableBonusSelect();
|
||||
data.setTimes(this.actionUniqueId - 2);
|
||||
data.setActionUniqueId(this.actionUniqueId - 2);
|
||||
this.getPlayer().sendPacket(new PacketHandleRogueCommonPendingActionScRsp(data));
|
||||
try {
|
||||
this.onSelectDialogue(bonus.getEventId(), 0);
|
||||
|
||||
@@ -15,12 +15,12 @@ public class PacketHandleRogueCommonPendingActionScRsp extends BasePacket {
|
||||
|
||||
public PacketHandleRogueCommonPendingActionScRsp(int id) {
|
||||
this(HandleRogueCommonPendingActionScRsp.newInstance()
|
||||
.setTimes(id));
|
||||
.setActionUniqueId(id));
|
||||
}
|
||||
|
||||
public PacketHandleRogueCommonPendingActionScRsp(RogueRerollBuff rogueRerollBuff, int id) {
|
||||
this(HandleRogueCommonPendingActionScRsp.newInstance()
|
||||
.setTimes(id)
|
||||
.setActionUniqueId(id)
|
||||
.setRogueRerollBuff(rogueRerollBuff));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user