Add visual first person blink effect

This commit is contained in:
Electroblob
2018-06-24 19:11:59 +01:00
parent f8eecfc6d5
commit fde5935adc
5 changed files with 97 additions and 55 deletions
@@ -43,6 +43,9 @@ public class Blink extends Spell {
world.spawnParticle(EnumParticleTypes.PORTAL, dx, dy, dz, world.rand.nextDouble() - 0.5,
world.rand.nextDouble() - 0.5, world.rand.nextDouble() - 0.5);
}
// Can't be bothered to route this through the proxies!
electroblob.wizardry.client.WizardryClientEventHandler.playBlinkEffect();
}
if(rayTrace != null && rayTrace.typeOfHit == RayTraceResult.Type.BLOCK){