Updated Gravity Talisman for new world height

This commit is contained in:
Auxilor
2021-11-13 11:25:21 +00:00
parent 65bef66d42
commit d1ebb45ef7
2 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ public class GravityTalisman extends Talisman {
public void onDamage(@NotNull final TalismanLevel level,
@NotNull final Player victim,
@NotNull final EntityDamageEvent event) {
if (victim.getLocation().getY() > 64 || victim.getLocation().getY() < 0) {
if (victim.getLocation().getY() > 64) {
return;
}

View File

@@ -31,7 +31,7 @@ levels:
# So if multiplier is 0.2, and you're at y = 1:
# distance below y = 63
# 63/64 * multiplier is roughly 0.2, +1 = 1.2x less
height-multiplier: 0.2
height-multiplier: 0.1
2:
name: "&eGravity Talisman II"
@@ -65,7 +65,7 @@ levels:
# So if multiplier is 2, and you're at y = 1:
# distance below y = 63
# 63/64 * multiplier is roughly 2, +1 = 3x less
height-multiplier: 0.3
height-multiplier: 0.15
3:
name: "&cGravity Talisman III"
@@ -99,4 +99,4 @@ levels:
# So if multiplier is 2, and you're at y = 1:
# distance below y = 63
# 63/64 * multiplier is roughly 2, +1 = 3x less
height-multiplier: 0.4
height-multiplier: 0.2