Esempio n. 1
0
 private static void PerformEclipseInvasion(Xoroshiro128Plus rng)
 {
     for (int i = CharacterMaster.readOnlyInstancesList.Count - 1; i >= 0; i--)
     {
         CharacterMaster characterMaster = CharacterMaster.readOnlyInstancesList[i];
         if (characterMaster.teamIndex == TeamIndex.Player && characterMaster.playerCharacterMasterController)
         {
             EclipseDoppelgangerInvasionManager.CreateDoppelganger(characterMaster, rng);
         }
     }
 }
Esempio n. 2
0
        private new void FixedUpdate()
        {
            if (this.isEnabled)
            {
                Int32 currentInvasionCycle = this.GetCurrentInvasionCycle();
                if (this.previousInvasionCycle < currentInvasionCycle)
                {
                    this.previousInvasionCycle = currentInvasionCycle;
                    EclipseDoppelgangerInvasionManager.PerformEclipseInvasion(new Xoroshiro128Plus(this.seed + (UInt64)currentInvasionCycle));


                    this.run.targetMonsterLevel = 42f;
                }
            }
        }