コード例 #1
0
        public override List <EffectData> Apply(FieldManager manager, Random random, GameMatch match, int playerUserIndex, Combo combo, Block block)
        {
            Field enemyField = playerUserIndex == 1 ? match.Field2 : match.Field1;

            List <EffectData> data = new List <EffectData>();

            manager.FlipBlocks(enemyField, manager.GetRandomNonDestroyedBlocks(enemyField, FlipAmount));

            return(data);
        }