mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Add a particle indicator for the shield spell ability
This commit is contained in:
parent
c9354d7acb
commit
d4948e0e37
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue