Unicorn casting speed now scales with their level

This commit is contained in:
Sollace 2024-03-12 11:57:39 +00:00
parent dce29e46a6
commit 0e067e2a24
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -51,12 +51,12 @@ public class UnicornTeleportAbility implements Ability<Pos> {
@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