mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Unicorn casting speed now scales with their level
This commit is contained in:
parent
dce29e46a6
commit
0e067e2a24
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue