Beispiel #1
0
        private static void CustomInteractables(
            DccsPool dccsPool, DirectorAPI.StageInfo stageInfo)
        {
            var cardHolder = new DirectorAPI.DirectorCardHolder()
            {
                Card = _my_iscCategoryChest2DamageDirectorCard,
                InteractableCategory = DirectorAPI.InteractableCategory.Chests
            };

            if (dccsPool)
            {
                DirectorAPI.Helpers.ForEachPoolEntryInDccsPool(dccsPool, (poolEntry) => {
                    if (poolEntry.dccs)
                    {
                        poolEntry.dccs.Clear();
                        var cardIndex = poolEntry.dccs.AddCard(cardHolder);
                    }
                });
            }
        }
Beispiel #2
0
        private static void OnlyGup(
            DccsPool dccsPool,
            List <DirectorAPI.DirectorCardHolder> mixEnemyArtifactsCards,
            DirectorAPI.StageInfo stageInfo)
        {
            var cardHolder = new DirectorAPI.DirectorCardHolder()
            {
                Card            = _myGupDC,
                MonsterCategory = DirectorAPI.MonsterCategory.BasicMonsters
            };

            if (dccsPool)
            {
                DirectorAPI.Helpers.ForEachPoolEntryInDccsPool(dccsPool, (poolEntry) => {
                    poolEntry.dccs.Clear();
                    _ = poolEntry.dccs.AddCard(cardHolder);
                });
            }

            mixEnemyArtifactsCards.Add(cardHolder);
        }