public override void Effect1(EntityPlayer player, Emplacement place, OptionEffect opt) { Printer.Log(40, "Wave Effect1", place.position, place.ipos, opt.OptionBlock.blocks, opt.OptionShape.shape); Zombiome.Routines.Named("Wave").Start( Routines.Call(biome.groundParticleEffect, place.ipos), // Routines.Call(__BUG), // TEST new WaitForSeconds(1f), EffectsGround.Wave(player, place, opt) ); }
public override void Effect1(EntityPlayer player, Emplacement place, OptionEffect opt) { Printer.Log(40, "Wave Effect1", place.position, place.ipos, opt.OptionBlock.blocks, opt.OptionShape.shape); Zombiome.Routines.Named("Wave").Start( Routines.Call(biome.groundParticleEffect, place.ipos), // Routines.Call(__BUG), // TEST ZBActivity.Environment.ZBSounds.Play(this.biome.groundNoise, place.position, player, World, 2, 0, 0.2f), new WaitForSeconds(1f), EffectsGround.Wave(player, place, opt) ); }