Format code [skip actions]

This commit is contained in:
github-actions 2023-11-09 02:16:38 +00:00
parent adf8031684
commit 2bcbd41026
3 changed files with 4 additions and 5 deletions

View File

@ -23,7 +23,6 @@ import emu.grasscutter.server.event.player.PlayerUseSkillEvent;
import io.netty.util.concurrent.FastThreadLocalThread;
import java.util.*;
import java.util.concurrent.*;
import java.util.function.Consumer;
import lombok.Getter;
public final class AbilityManager extends BasePlayerManager {
@ -103,7 +102,8 @@ public final class AbilityManager extends BasePlayerManager {
this.abilityInvulnerable = true;
this.player
.getEnergyManager()
.handleEvtDoSkillSuccNotify(this.player.getSession(), this.burstSkillId, this.burstCasterId);
.handleEvtDoSkillSuccNotify(
this.player.getSession(), this.burstSkillId, this.burstCasterId);
this.removePendingEnergyClear();
}
}

View File

@ -29,7 +29,7 @@ public class TowerManager extends BasePlayerManager {
return this.getTowerData().currentFloorId;
}
/** floor number: 1 - 12 **/
/** floor number: 1 - 12 * */
public int getCurrentFloorNumber() {
return GameData.getTowerFloorDataMap().get(getCurrentFloorId()).getFloorIndex();
}

View File

@ -771,8 +771,7 @@ public class Scene {
if (getDungeonManager() != null) {
return getDungeonManager().getLevelForMonster(configId);
} else if (getWorld().getWorldLevel() > 0) {
var worldLevelData =
GameData.getWorldLevelDataMap().get(getWorld().getWorldLevel());
var worldLevelData = GameData.getWorldLevelDataMap().get(getWorld().getWorldLevel());
if (worldLevelData != null) {
return worldLevelData.getMonsterLevel();