diff --git a/src/main/java/com/minelittlepony/unicopia/ability/UnicornCastingAbility.java b/src/main/java/com/minelittlepony/unicopia/ability/UnicornCastingAbility.java index 5726a36e..64a0e4bf 100644 --- a/src/main/java/com/minelittlepony/unicopia/ability/UnicornCastingAbility.java +++ b/src/main/java/com/minelittlepony/unicopia/ability/UnicornCastingAbility.java @@ -37,7 +37,7 @@ public class UnicornCastingAbility extends AbstractSpellCastingAbility { @Override public int getWarmupTime(Pony player) { - return 20; + return (int)(20 - Math.min(17F, player.getLevel().get() * 0.75F)); } @Override diff --git a/src/main/java/com/minelittlepony/unicopia/ability/UnicornTeleportAbility.java b/src/main/java/com/minelittlepony/unicopia/ability/UnicornTeleportAbility.java index ea81884b..3401632f 100644 --- a/src/main/java/com/minelittlepony/unicopia/ability/UnicornTeleportAbility.java +++ b/src/main/java/com/minelittlepony/unicopia/ability/UnicornTeleportAbility.java @@ -51,12 +51,12 @@ public class UnicornTeleportAbility implements Ability { @Override public int getWarmupTime(Pony player) { - return 20; + return (int)(20 - Math.min(17F, player.getLevel().get() * 0.75F)); } @Override public int getCooldownTime(Pony player) { - return 50; + return (int)(50 - Math.min(45F, player.getLevel().get() * 0.75F)); } @Override