Light spell shouldn't do anything when fired as a projectile

This commit is contained in:
Sollace 2022-01-11 20:41:40 +02:00
parent 1a1bc2396f
commit f18ed7eed6

View file

@ -37,6 +37,10 @@ public class LightSpell extends AbstractSpell {
@Override
public boolean tick(Caster<?> caster, Situation situation) {
if (situation == Situation.PROJECTILE) {
return false;
}
age++;
if (age % 20 == 0) {