Skip to content

Commit b49251e

Browse files
committed
balance: Weaken crystal explosions a little
Turns out the previous strengths were way too strong when played on an actual, non-local server, with a ping >1ms
1 parent 28ce803 commit b49251e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/java/de/kiridevs/ksmpplugin/features/DragonBuff.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public void onDimensionSwitch(PlayerChangedWorldEvent event) {
6767
if (dragon == null) return; // The dragon somehow already died
6868
this.plugin.log.info("Changed dragon name");
6969
dragon.customName(Component.text("Elder Dragon").color(NamedTextColor.AQUA));
70-
}, 5); // 5t * 20t/s = 0.25s
70+
}, 40); // 5t * 20t/s = 0.25s
7171

7272
// Limit world border for the first dragon fight
7373
WorldBorder border = player.getWorld().getWorldBorder();

src/main/java/de/kiridevs/ksmpplugin/features/EndCrystalBuff.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ public void onEntityDamageByEntityEvent(EntityDamageByEntityEvent event) {
9595

9696
// Create a small explosion, then apply customKnockback, schedule big boom for later
9797
World crystalWorld = crystal.getWorld();
98-
crystalWorld.createExplosion(crystalLocation, 7);
98+
crystalWorld.createExplosion(crystalLocation, 3);
9999
player.setVelocity(knockback);
100100
Bukkit.getScheduler().scheduleSyncDelayedTask(this.plugin, () -> {
101-
crystalWorld.createExplosion(crystalLocation, 20);
102-
}, 4); // 4t * 20t/s = 0.25s
101+
crystalWorld.createExplosion(crystalLocation, 12);
102+
}, 6); // 4t * 20t/s = 0.25s
103103

104104
// Reduce crystal health
105105
PersistentDataContainer pdc = crystal.getPersistentDataContainer();

0 commit comments

Comments
 (0)