public ZoneData(string Identity, string Name, string Description, int Act, int Zone, int ActZoneID, float BossPower, int ZoneHP, LootTableData LootTable, float MinItemLevel, float Variance, float MonsterTimer, BossFightData BossFight, List <MonsterData> Monsters, ZoneDifficulty Difficulty, string StoryEvent = "") { this.Identity = Identity; this.Name = Name; this.Description = Description; this.LootTable = LootTable; this.Act = Act; this.Zone = Zone; this.ActZoneID = ActZoneID; this.MonsterTimer = MonsterTimer; this.BossPower = BossPower; this.ZoneHP = ZoneHP; this.BossFight = BossFight; this.Monsters = Monsters; this.MinItemLevel = MinItemLevel; this.Variance = Variance; this.Difficulty = Difficulty; this.StoryEvent = StoryEvent; }
/// <summary> /// Gets only zones that match the difficulty. /// </summary> /// <param name="difficulty">Difficulty of the zones to find. (Easy, Medium, Hard)</param> /// <returns>The zones that matched the filter.</returns> public IEnumerable <Zone> FilterAvailableZones(ZoneDifficulty difficulty, ZoneType type = ZoneType.Normal) => Zones.Where(x => !x.Captured && x.Type == type && x.Difficulty == difficulty);