Skip to content

Commit

Permalink
Format code [skip actions]
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 9, 2023
1 parent adf8031 commit 2bcbd41
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
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 {
Expand Down Expand Up @@ -103,7 +102,8 @@ private void onPossibleElementalBurst(Ability ability, AbilityModifier modifier,
this.abilityInvulnerable = true;
this.player
.getEnergyManager()
.handleEvtDoSkillSuccNotify(this.player.getSession(), this.burstSkillId, this.burstCasterId);
.handleEvtDoSkillSuccNotify(
this.player.getSession(), this.burstSkillId, this.burstCasterId);
this.removePendingEnergyClear();
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/emu/grasscutter/game/tower/TowerManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public int getCurrentFloorId() {
return this.getTowerData().currentFloorId;
}

/** floor number: 1 - 12 **/
/** floor number: 1 - 12 * */
public int getCurrentFloorNumber() {
return GameData.getTowerFloorDataMap().get(getCurrentFloorId()).getFloorIndex();
}
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/emu/grasscutter/game/world/Scene.java
Original file line number Diff line number Diff line change
Expand Up @@ -771,8 +771,7 @@ public int getLevelForMonster(int configId, int defaultLevel) {
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();
Expand Down

0 comments on commit 2bcbd41

Please sign in to comment.