mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 05:19:17 +00:00
Format code [skip actions]
This commit is contained in:
parent
adf8031684
commit
2bcbd41026
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user