mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 17:51:53 +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 io.netty.util.concurrent.FastThreadLocalThread;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.concurrent.*;
|
import java.util.concurrent.*;
|
||||||
import java.util.function.Consumer;
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
|
|
||||||
public final class AbilityManager extends BasePlayerManager {
|
public final class AbilityManager extends BasePlayerManager {
|
||||||
@ -103,7 +102,8 @@ public final class AbilityManager extends BasePlayerManager {
|
|||||||
this.abilityInvulnerable = true;
|
this.abilityInvulnerable = true;
|
||||||
this.player
|
this.player
|
||||||
.getEnergyManager()
|
.getEnergyManager()
|
||||||
.handleEvtDoSkillSuccNotify(this.player.getSession(), this.burstSkillId, this.burstCasterId);
|
.handleEvtDoSkillSuccNotify(
|
||||||
|
this.player.getSession(), this.burstSkillId, this.burstCasterId);
|
||||||
this.removePendingEnergyClear();
|
this.removePendingEnergyClear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -771,8 +771,7 @@ public class Scene {
|
|||||||
if (getDungeonManager() != null) {
|
if (getDungeonManager() != null) {
|
||||||
return getDungeonManager().getLevelForMonster(configId);
|
return getDungeonManager().getLevelForMonster(configId);
|
||||||
} else if (getWorld().getWorldLevel() > 0) {
|
} else if (getWorld().getWorldLevel() > 0) {
|
||||||
var worldLevelData =
|
var worldLevelData = GameData.getWorldLevelDataMap().get(getWorld().getWorldLevel());
|
||||||
GameData.getWorldLevelDataMap().get(getWorld().getWorldLevel());
|
|
||||||
|
|
||||||
if (worldLevelData != null) {
|
if (worldLevelData != null) {
|
||||||
return worldLevelData.getMonsterLevel();
|
return worldLevelData.getMonsterLevel();
|
||||||
|
Loading…
Reference in New Issue
Block a user