Beispiel #1
0
        protected SpreadHouseZoneStep(SpreadHouseZoneStep other, ulong seed) : this()
        {
            Items           = other.Items.CopyState();
            ItemThemes      = other.ItemThemes.CopyState();
            Mobs            = other.Mobs.CopyState();
            MobThemes       = other.MobThemes.CopyState();
            HouseStepSpawns = (SpawnList <IMonsterHouseBaseStep>)other.HouseStepSpawns.CopyState();
            ModStates.AddRange(other.ModStates);

            Priority   = other.Priority;
            SpreadPlan = other.SpreadPlan.Instantiate(seed);
        }
Beispiel #2
0
        protected SpreadBossZoneStep(SpreadBossZoneStep other, ulong seed) : this()
        {
            VaultSteps.AddRange(other.VaultSteps);
            Items          = other.Items.CopyState();
            BossSteps      = other.BossSteps.CopyState();
            ItemAmount     = other.ItemAmount;
            ItemSpawners   = other.ItemSpawners;
            ItemPlacements = other.ItemPlacements;

            BossRoomPriority = other.BossRoomPriority;
            RewardPriority   = other.RewardPriority;
            SpreadPlan       = other.SpreadPlan.Instantiate(seed);
        }
Beispiel #3
0
        protected SpreadVaultZoneStep(SpreadVaultZoneStep other, ulong seed) : this()
        {
            VaultSteps.AddRange(other.VaultSteps);
            Items          = other.Items.CopyState();
            Mobs           = other.Mobs.CopyState();
            ItemAmount     = other.ItemAmount;
            ItemSpawners   = other.ItemSpawners;
            ItemPlacements = other.ItemPlacements;
            MobAmount      = other.MobAmount;
            MobPlacements  = other.MobPlacements;

            ItemPriority = other.ItemPriority;
            MobPriority  = other.MobPriority;
            SpreadPlan   = other.SpreadPlan.Instantiate(seed);
        }
Beispiel #4
0
 public SpreadVaultZoneStep(Priority itemPriority, Priority mobPriority, SpreadPlanBase plan) : this(itemPriority, mobPriority)
 {
     ItemPriority = itemPriority;
     MobPriority  = mobPriority;
     SpreadPlan   = plan;
 }
Beispiel #5
0
 public SpreadBossZoneStep(Priority bossRoomPriority, Priority rewardPriority, SpreadPlanBase plan) : this(bossRoomPriority, rewardPriority)
 {
     BossRoomPriority = bossRoomPriority;
     RewardPriority   = rewardPriority;
     SpreadPlan       = plan;
 }
Beispiel #6
0
 public SpreadHouseZoneStep(Priority priority, SpreadPlanBase plan) : this(priority)
 {
     Priority   = priority;
     SpreadPlan = plan;
 }