Exemplo n.º 1
0
        public static void LateStart1(Action <Foyer> orig, Foyer self1)
        {
            orig(self1);
            Bugun.ThisIsBasicallyCelsRNGUNButTakenToASillyLevel();
            bool flag = BunnyModule.hasInitialized;

            if (!flag)
            {
                ArtifactMonger.Add();
                WhisperShrine.Add();
                DeicideShrine.Add();
                JammedSquire.Add();
                {
                    ShrineFactory.PlaceBnyBreachShrines();
                }
                BunnyModule.hasInitialized = true;
            }
            //ShrineFactory.PlaceBnyBreachShrines();
        }
Exemplo n.º 2
0
        // Token: 0x06000751 RID: 1873 RVA: 0x00040650 File Offset: 0x0003E850
        public static void Accept(PlayerController player, GameObject npc)
        {
            npc.GetComponent <tk2dSpriteAnimator>().PlayForDuration("do_effect", 2f, "idle", false);
            bool harderlotj = JammedSquire.NoHarderLotJ;

            if (harderlotj)
            {
                //npc.GetComponent<tk2dSpriteAnimator>().PlayForDuration("do_effect", -2f, "idle", false);
                string header2 = "Curse 2.0 Enabled";
                string text2   = "The Jammed show true potential.";
                JammedSquire.Notify(header2, text2);
                JammedSquire.NoHarderLotJ = false;
                player.PlayEffectOnActor(ResourceCache.Acquire("Global VFX/VFX_Curse") as GameObject, Vector3.zero, true, false, false);
            }
            else
            {
                //npc.GetComponent<tk2dSpriteAnimator>().PlayForDuration("do_effect", -2f, "idle", false);
                string header = "Curse 2.0 Disabled";
                string text   = "The Jammed hold back.";
                JammedSquire.Notify(header, text);
                JammedSquire.NoHarderLotJ = true;
            }
        }