mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-17 10:24:23 +01:00
Reduce the maximum shield radius based on caster level
This commit is contained in:
parent
d25696bfb9
commit
d80bc3c7dd
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ public class ShieldSpell extends AbstractSpell {
|
|||
public double getDrawDropOffRange(Caster<?> source) {
|
||||
float multiplier = source.getMaster() != null && source.getMaster().isSneaking() ? 1 : 2;
|
||||
float min = 4 + getTraits().get(Trait.POWER);
|
||||
return (min + (source.getLevel().getScaled(8) * 2)) / multiplier;
|
||||
return (min + (source.getLevel().getScaled(4) * 2)) / multiplier;
|
||||
}
|
||||
|
||||
protected boolean isValidTarget(Caster<?> source, Entity entity) {
|
||||
|
|
Loading…
Reference in a new issue