Reduce the maximum shield radius based on caster level

This commit is contained in:
Sollace 2022-09-11 15:43:34 +02:00
parent d25696bfb9
commit d80bc3c7dd

View file

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