feat(frost-shard): quadruple base-plus-INT damage
CI / build (push) Successful in 55s
CI / build (pull_request) Successful in 2m6s

This commit is contained in:
dmg committed 2026-10-15 07:20:29 -04:00
1 parent 22c46f6780
commit 167573f953
4 files changed
+96 -35

No files matched your search

@@ -151,7 +151,7 @@ public final class FrostShard implements AbilityEffect, Listener, AutoCloseable
var current = settings;
return new AbilityDefinition("frost_shard", "Frost Shard", Material.PRISMARINE_SHARD,
List.of("Launch a frost projectile with a " + BigDecimal.valueOf(current.range()).stripTrailingZeros().toPlainString() + "-block travel limit.",
"Deals " + current.baseDamage() + " + INT modifier damage and Slowness "
"Deals 4 * (" + current.baseDamage() + " + INT modifier) damage and Slowness "
+ level(current.slownessAmplifier()) + " for " + seconds(current.slownessDuration()) + "s."),
"Use the equipped shard; a miss still spends the cooldown.",
Map.of(Stat.INT, BigInteger.valueOf(12), Stat.WIS, BigInteger.TEN), BigInteger.ONE, AbilityDefinition.Category.ATK,
@@ -187,7 +187,7 @@ public final class FrostShard implements AbilityEffect, Listener, AutoCloseable
BigInteger[] divided = delta.divideAndRemainder(BigInteger.TWO);
BigInteger modifier = divided[0];
if (delta.signum() < 0 && divided[1].signum() != 0) modifier = modifier.subtract(BigInteger.ONE);
return base.add(modifier);
return base.add(modifier).multiply(BigInteger.valueOf(4));
}
@Override public void activate(AbilityExecution execution) {