mirror of
https://github.com/Anime-Game-Servers/Grasscutter-Quests.git
synced 2024-11-23 04:29:42 +00:00
[Refactoring] Updates for multi proto 0.2 spiral abyss changes
This commit is contained in:
parent
f1592ac069
commit
60eaad14fa
@ -7,8 +7,8 @@ import emu.grasscutter.game.player.Player;
|
||||
import lombok.Builder;
|
||||
import lombok.val;
|
||||
import org.anime_game_servers.multi_proto.gi.messages.dungeon.progression.DungeonSettleNotify;
|
||||
import org.anime_game_servers.multi_proto.gi.messages.tower.ContinueStateType;
|
||||
import org.anime_game_servers.multi_proto.gi.messages.tower.TowerLevelEndNotify;
|
||||
import org.anime_game_servers.multi_proto.gi.messages.spiral_abyss.run.ContinueStateType;
|
||||
import org.anime_game_servers.multi_proto.gi.messages.spiral_abyss.run.TowerLevelEndNotify;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.stream.IntStream;
|
||||
@ -41,7 +41,7 @@ public class TowerResult extends BaseDungeonResult {
|
||||
towerLevelEndNotify.setContinueState((success && this.hasNextFloor ? this.hasNextLevel ?
|
||||
ContinueStateType.CONTINUE_STATE_CAN_ENTER_NEXT_LEVEL :
|
||||
ContinueStateType.CONTINUE_STATE_CAN_ENTER_NEXT_FLOOR :
|
||||
ContinueStateType.CONTINUE_STATE_CAN_NOT_CONTINUE).ordinal());
|
||||
ContinueStateType.CONTINUE_STATE_CAN_NOT_CONTINUE));
|
||||
towerLevelEndNotify.setFinishedStarCondList(IntStream.rangeClosed(1, this.stars).boxed().toList());
|
||||
towerLevelEndNotify.setNextFloorId(this.hasNextFloor ? this.nextFloorId : 0);
|
||||
towerLevelEndNotify.setRewardItemList(this.rewardItems.stream()
|
||||
|
Loading…
Reference in New Issue
Block a user