mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-08 06:26:43 +01:00
Light spell shouldn't do anything when fired as a projectile
This commit is contained in:
parent
1a1bc2396f
commit
f18ed7eed6
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue