internal override string GetLogicName(ParsedEvtcLog log) { MapIDEvent mapID = log.CombatData.GetMapIDEvents().LastOrDefault(); if (mapID == null) { return(DefaultName); } switch (mapID.MapID) { case 38: return("Eternal Battlegrounds"); case 95: return("Green Alpine Borderlands"); case 96: return("Blue Alpine Borderlands"); case 1099: return("Red Desert Borderlands"); case 899: return("Obsidian Sanctum"); case 968: return("Edge of the Mists"); } return(DefaultName); }
protected override CombatReplayMap GetCombatMapInternal(ParsedEvtcLog log) { MapIDEvent mapID = log.CombatData.GetMapIDEvents().LastOrDefault(); if (mapID == null) { return(base.GetCombatMapInternal(log)); } switch (mapID.MapID) { // EB case 38: return(new CombatReplayMap("https://i.imgur.com/t0khtQd.png", (954, 1000), (-36864, -36864, 36864, 36864) /*, (-36864, -36864, 36864, 36864), (8958, 12798, 12030, 15870)*/)); // Green Alpine case 95: return(new CombatReplayMap("https://i.imgur.com/nVu2ivF.png", (697, 1000), (-30720, -43008, 30720, 43008) /*, (-30720, -43008, 30720, 43008), (5630, 11518, 8190, 15102)*/)); // Blue Alpine case 96: return(new CombatReplayMap("https://i.imgur.com/nVu2ivF.png", (697, 1000), (-30720, -43008, 30720, 43008) /*, (-30720, -43008, 30720, 43008), (12798, 10878, 15358, 14462)*/)); // Red Desert case 1099: return(new CombatReplayMap("https://i.imgur.com/R5p9fqw.png", (1000, 1000), (-36864, -36864, 36864, 36864) /*, (-36864, -36864, 36864, 36864), (9214, 8958, 12286, 12030)*/)); case 968: return(new CombatReplayMap("https://i.imgur.com/iEpKYL0.jpg", (3556, 3646), (-36864, -36864, 36864, 36864) /*, (-36864, -36864, 36864, 36864), (9214, 8958, 12286, 12030)*/)); } return(base.GetCombatMapInternal(log)); }
protected override CombatReplayMap GetCombatMapInternal(ParsedEvtcLog log) { MapIDEvent mapID = log.CombatData.GetMapIDEvents().LastOrDefault(); if (mapID == null) { return(base.GetCombatMapInternal(log)); } switch (mapID.MapID) { // EB case 38: return(new CombatReplayMap("https://i.imgur.com/7DnLZ7G.png", (3100, 3250), (-36864, -36864, 36864, 36864), (-36864, -36864, 36864, 36864), (8958, 12798, 12030, 15870))); // Green Alpine case 95: return(new CombatReplayMap("https://i.imgur.com/s4wMYgZ.png", (2492, 3574), (-30720, -43008, 30720, 43008), (-30720, -43008, 30720, 43008), (5630, 11518, 8190, 15102))); // Blue Alpine case 96: return(new CombatReplayMap("https://i.imgur.com/s4wMYgZ.png", (2492, 3574), (-30720, -43008, 30720, 43008), (-30720, -43008, 30720, 43008), (12798, 10878, 15358, 14462))); // Red Desert case 1099: return(new CombatReplayMap("https://i.imgur.com/IbXfEwV.jpg", (3200, 3200), (-36864, -36864, 36864, 36864), (-36864, -36864, 36864, 36864), (9214, 8958, 12286, 12030))); } return(base.GetCombatMapInternal(log)); }
internal override FightData.EncounterMode GetEncounterMode(CombatData combatData, AgentData agentData, FightData fightData) { AbstractSingleActor ankka = Targets.FirstOrDefault(x => x.ID == (int)ArcDPSEnums.TargetID.Ankka); if (ankka == null) { throw new MissingKeyActorsException("Ankka not found"); } MapIDEvent map = combatData.GetMapIDEvents().FirstOrDefault(); if (map != null && map.MapID == 1434) { return(FightData.EncounterMode.Story); } return(ankka.GetHealth(combatData) > 50e6 ? FightData.EncounterMode.CM : FightData.EncounterMode.Normal); }
internal override string GetLogicName(CombatData combatData, AgentData agentData) { MapIDEvent mapID = combatData.GetMapIDEvents().LastOrDefault(); if (mapID == null) { return(_defaultName); } switch (mapID.MapID) { case 38: EncounterCategoryInformation.SubCategory = SubFightCategory.EternalBattlegrounds; EncounterID |= EncounterIDs.WvWMasks.EternalBattlegroundsMask; return(_defaultName + " - Eternal Battlegrounds"); case 95: EncounterCategoryInformation.SubCategory = SubFightCategory.GreenAlpineBorderlands; EncounterID |= EncounterIDs.WvWMasks.GreenAlpineBorderlandsMask; return(_defaultName + " - Green Alpine Borderlands"); case 96: EncounterCategoryInformation.SubCategory = SubFightCategory.BlueAlpineBorderlands; EncounterID |= EncounterIDs.WvWMasks.BlueAlpineBorderlandsMask; return(_defaultName + " - Blue Alpine Borderlands"); case 1099: EncounterCategoryInformation.SubCategory = SubFightCategory.RedDesertBorderlands; EncounterID |= EncounterIDs.WvWMasks.RedDesertBorderlandsMask; return(_defaultName + " - Red Desert Borderlands"); case 899: EncounterCategoryInformation.SubCategory = SubFightCategory.ObsidianSanctum; EncounterID |= EncounterIDs.WvWMasks.ObsidianSanctumMask; return(_defaultName + " - Obsidian Sanctum"); case 968: EncounterCategoryInformation.SubCategory = SubFightCategory.EdgeOfTheMists; EncounterID |= EncounterIDs.WvWMasks.EdgeOfTheMistsMask; return(_defaultName + " - Edge of the Mists"); case 1315: EncounterCategoryInformation.SubCategory = SubFightCategory.ArmisticeBastion; EncounterID |= EncounterIDs.WvWMasks.ArmisticeBastionMask; return(_defaultName + " - Armistice Bastion"); } return(_defaultName); }
internal override string GetLogicName(ParsedEvtcLog log) { MapIDEvent mapID = log.CombatData.GetMapIDEvents().LastOrDefault(); if (mapID == null) { return(_defaultName); } switch (mapID.MapID) { case 38: EncounterCategoryInformation.SubCategory = SubFightCategory.EternalBattlegrounds; return(_defaultName + " - Eternal Battlegrounds"); case 95: EncounterCategoryInformation.SubCategory = SubFightCategory.GreenAlpineBorderlands; return(_defaultName + " - Green Alpine Borderlands"); case 96: EncounterCategoryInformation.SubCategory = SubFightCategory.BlueAlpineBorderlands; return(_defaultName + " - Blue Alpine Borderlands"); case 1099: EncounterCategoryInformation.SubCategory = SubFightCategory.RedDesertBorderlands; return(_defaultName + " - Red Desert Borderlands"); case 899: EncounterCategoryInformation.SubCategory = SubFightCategory.ObsidianSanctum; return(_defaultName + " - Obsidian Sanctum"); case 968: EncounterCategoryInformation.SubCategory = SubFightCategory.EdgeOfTheMists; return(_defaultName + " - Edge of the Mists"); } return(_defaultName); }
internal override string GetLogicName(CombatData combatData, AgentData agentData) { MapIDEvent mapID = combatData.GetMapIDEvents().LastOrDefault(); if (mapID == null) { return(base.GetLogicName(combatData, agentData)); } switch (mapID.MapID) { // Raids case 1062: EncounterCategoryInformation.Category = FightCategory.Raid; EncounterCategoryInformation.SubCategory = SubFightCategory.SpiritVale; Icon = "https://i.imgur.com/DcuOUHQ.png"; Extension = "sprtvale"; return("Spirit Vale"); case 1149: EncounterCategoryInformation.Category = FightCategory.Raid; EncounterCategoryInformation.SubCategory = SubFightCategory.SalvationPass; Icon = "https://i.imgur.com/ihpaEpv.png"; Extension = "salvpass"; return("Salvation Pass"); case 1156: EncounterCategoryInformation.Category = FightCategory.Raid; EncounterCategoryInformation.SubCategory = SubFightCategory.StrongholdOfTheFaithful; Icon = "https://i.imgur.com/i1sOswI.png"; Extension = "strgldfaith"; return("Stronghold Of The Faithful"); case 1188: EncounterCategoryInformation.Category = FightCategory.Raid; EncounterCategoryInformation.SubCategory = SubFightCategory.BastionOfThePenitent; Icon = "https://i.imgur.com/UA9F5cy.png"; Extension = "bstpen"; return("Bastion Of The Penitent"); case 1264: EncounterCategoryInformation.Category = FightCategory.Raid; EncounterCategoryInformation.SubCategory = SubFightCategory.HallOfChains; Icon = "https://i.imgur.com/GjUeL1x.png"; Extension = "hallchains"; return("Hall Of Chains"); case 1303: EncounterCategoryInformation.Category = FightCategory.Raid; EncounterCategoryInformation.SubCategory = SubFightCategory.MythwrightGambit; Icon = "https://i.imgur.com/1dSCf2T.png"; Extension = "mythgamb"; return("Mythwright Gambit"); case 1323: EncounterCategoryInformation.Category = FightCategory.Raid; EncounterCategoryInformation.SubCategory = SubFightCategory.TheKeyOfAhdashim; Icon = "https://i.imgur.com/3YGv1wH.png"; Extension = "keyadash"; return("The Key Of Ahdashim"); // Fractals case 960: EncounterCategoryInformation.Category = FightCategory.Fractal; EncounterCategoryInformation.SubCategory = SubFightCategory.CaptainMaiTrinBossFractal; Extension = "captnmai"; return("Captain Mai Trin Boss Fractal"); case 1177: EncounterCategoryInformation.Category = FightCategory.Fractal; EncounterCategoryInformation.SubCategory = SubFightCategory.Nightmare; Extension = "nightmare"; return("Nightmare"); case 1205: EncounterCategoryInformation.Category = FightCategory.Fractal; EncounterCategoryInformation.SubCategory = SubFightCategory.ShatteredObservatory; Extension = "shatrdobs"; return("Shattered Observatory"); case 1290: EncounterCategoryInformation.Category = FightCategory.Fractal; EncounterCategoryInformation.SubCategory = SubFightCategory.Deepstone; Extension = "deepstone"; return("Deepstone"); case 1384: EncounterCategoryInformation.Category = FightCategory.Fractal; EncounterCategoryInformation.SubCategory = SubFightCategory.SunquaPeak; Extension = "snqpeak"; Icon = "https://i.imgur.com/3mlCdI9.png"; return("Sunqua Peak"); } return(base.GetLogicName(combatData, agentData)); }