Add a particle indicator for the shield spell ability

This commit is contained in:
Sollace 2019-02-02 18:50:34 +02:00
parent c9354d7acb
commit d4948e0e37

View file

@ -3,6 +3,7 @@ package com.minelittlepony.unicopia.power;
import org.lwjgl.input.Keyboard; import org.lwjgl.input.Keyboard;
import com.minelittlepony.unicopia.Race; import com.minelittlepony.unicopia.Race;
import com.minelittlepony.unicopia.UParticles;
import com.minelittlepony.unicopia.player.IPlayer; import com.minelittlepony.unicopia.player.IPlayer;
import com.minelittlepony.unicopia.player.PlayerSpeciesList; import com.minelittlepony.unicopia.player.PlayerSpeciesList;
import com.minelittlepony.unicopia.power.data.Hit; import com.minelittlepony.unicopia.power.data.Hit;
@ -61,11 +62,11 @@ public class PowerMagic implements IPower<Hit> {
@Override @Override
public void preApply(IPlayer player) { public void preApply(IPlayer player) {
IPower.spawnParticles(UParticles.MAGIC_PARTICLE, player, 5);
} }
@Override @Override
public void postApply(IPlayer player) { public void postApply(IPlayer player) {
IPower.spawnParticles(UParticles.MAGIC_PARTICLE, player, 5);
} }
} }