@@ -272,8 +272,8 @@ Function Check-SimpleArcParse-Version {
272
272
param ([Parameter (Mandatory )][string ]$version )
273
273
274
274
$expected_major_ver = 2
275
- $expected_minor_ver = 2
276
- $expected_patch_ver = 0
275
+ $expected_minor_ver = 4
276
+ $expected_patch_ver = 1
277
277
278
278
$expected_version = " v${expected_major_ver} .${expected_minor_ver} .${expected_patch_ver} "
279
279
@@ -1351,108 +1351,6 @@ Function Get-Discord-Players {
1351
1351
return $names
1352
1352
}
1353
1353
1354
- <#
1355
- . Synopsis
1356
- Given a boss name, look up the associated raid wing or fractal CM
1357
-
1358
- . Description
1359
- Convert the boss name into the equivalent wing. Additionally, convert the
1360
- fractal bosses into their respective CMs as well.
1361
-
1362
- . Parameter boss_name
1363
- The boss name to lookup
1364
- #>
1365
- Function Convert-Boss-To-Wing {
1366
- [CmdletBinding ()]
1367
- param ([Parameter (Mandatory )][string ]$boss_name )
1368
-
1369
- $wings = @ {# ## Raids
1370
- # Wing 1
1371
- " Vale Guardian" = 1 ;
1372
- " Gorseval" = 1 ;
1373
- " Sabetha" = 1 ;
1374
- # Wing 2
1375
- " Slothasor" = 2 ;
1376
- " Bandit Trio" = 2 ;
1377
- " Matthias" = 2 ;
1378
- # Wing 3
1379
- " Keep Construct" = 3 ;
1380
- " Twisted Castle" = 3 ;
1381
- " Xera" = 3 ;
1382
- # Wing 4
1383
- " Cairn" = 4 ;
1384
- " Mursaat Overseer" = 4 ;
1385
- " Samarog" = 4 ;
1386
- " Deimos" = 4 ;
1387
- # Wing 5
1388
- " Soulless Horror" = 5 ;
1389
- " Dhuum" = 5 ;
1390
- # Wing 6
1391
- " Conjured Amalgamate" = 6 ;
1392
- " Largos Twins" = 6 ;
1393
- " Qadim" = 6 ;
1394
- # Wing 7
1395
- " Cardinal Adina" = 7 ;
1396
- " Cardinal Sabir" = 7 ;
1397
- " Qadim the Peerless" = 7 ;
1398
- # ## Fractal names
1399
- # 99 CM
1400
- " MAMA (CM)" = " 99cm" ;
1401
- " Siax (CM)" = " 99cm" ;
1402
- " Ensolyss (CM)" = " 99cm" ;
1403
- # 100 CM
1404
- " Skorvald (CM)" = " 100cm" ;
1405
- " Artsariiv (CM)" = " 100cm" ;
1406
- " Arkk (CM)" = " 100cm" ;
1407
- # Aquatic Ruins
1408
- " Jellyfish Beast" = " Aquatic Ruins" ;
1409
- # Mai Trin Boss
1410
- " Inquest Technician" = " Mai Trin Boss" ;
1411
- " Mai Trin" = " Mai Trin Boss" ;
1412
- # Chaos Isles
1413
- " Brazen Gladiator" = " Chaos Isles" ;
1414
- # Cliffside
1415
- " Archdiviner" = " Cliffside" ;
1416
- # Molten Boss
1417
- " Molten Effigy" = " Molten Boss" ;
1418
- # Nightmare
1419
- " MAMA" = " Nightmare" ;
1420
- " Siax the Unclean" = " Nightmare" ;
1421
- " Ensolyss" = " Nightmare" ;
1422
- # Shattered Observatory
1423
- " Skorvald the Shattered" = " Shattered Observatory" ;
1424
- # Snowblind
1425
- " Svanir Shaman" = " Snowblind" ;
1426
- # Solid Ocean
1427
- " The Jade Maw" = " Solid Ocean" ;
1428
- # Swampland
1429
- " Mossman" = " Swampland" ;
1430
- " Bloomhunger" = " Swampland" ;
1431
- # Thaumanova Reactor
1432
- " Subject 6" = " Thaumanova Reactor" ;
1433
- " Thaumanova Anomaly" = " Thaumanova Reactor" ;
1434
- # Underground Facility
1435
- " Rabsovich" = " Underground Facility" ;
1436
- " Rampaging Ice Elemental" = " Underground Facility" ;
1437
- " Dredge Powersuit" = " Underground Facility" ;
1438
- # Urban Battleground
1439
- " Seigemaster Dulfy" = " Urban Battleground" ;
1440
- " Captain Ashym" = " Urban Battleground" ;
1441
- # Volcanic
1442
- " Grawl Shaman" = " Volcanic" ;
1443
- " Imbued Shaman" = " Volcanic" ;
1444
- # Uncategorized
1445
- " Uncategorized Champions" = " Uncategorized" ;
1446
- " Old Tom" = " Uncategorized" ;
1447
- " Raving Asura" = " Uncategorized" ;}
1448
-
1449
- try {
1450
- return $wings [$boss_name ];
1451
- } catch {
1452
- return $null
1453
- }
1454
- }
1455
-
1456
1354
<#
1457
1355
. Synopsis
1458
1356
Get the abbreviated name for a boss, if there is one
@@ -1646,6 +1544,9 @@ Function Load-From-EVTC {
1646
1544
1647
1545
# Get whether the encounter is a Challenge Mote
1648
1546
$boss [" is_cm" ] = ($evtc_info.boss.is_cm -eq " YES" )
1547
+
1548
+ # Get the encounter location
1549
+ $boss [" location" ] = $evtc_info.boss.location
1649
1550
} else {
1650
1551
# Extract data from the old format
1651
1552
Load- From- Old- EVTC $config $extras_path
@@ -1666,9 +1567,6 @@ Function Load-From-EVTC {
1666
1567
# Get an abbreviated name, if there is one
1667
1568
$boss [" shortname" ] = Get-Abbreviated - Name $boss [" name" ]
1668
1569
1669
- # Get the wing for this encounter
1670
- $boss [" wing" ] = Convert-Boss - To- Wing $boss [" name" ]
1671
-
1672
1570
# Get whether this encounter is a fracal
1673
1571
if (Is- Fractal- Encounter $boss [" id" ]) {
1674
1572
$boss [" encounter_type" ] = " fractal"
@@ -1860,8 +1758,8 @@ Function Format-And-Publish-Some {
1860
1758
}
1861
1759
}
1862
1760
1863
- # Determine which wings we did
1864
- $wings = $ ($some_bosses | ForEach-Object {$_.wing } | Get-Unique ) -join " , "
1761
+ # Determine which locations we have encounters for
1762
+ $locations = $ ($some_bosses | ForEach-Object {$_.location } | Get-Unique ) -join " , "
1865
1763
1866
1764
# Get the date based on the first boss in the list, since we assume all bosses were run on the same date
1867
1765
$date = Get-Date - Format " MMM d, yyyy" - Date $some_bosses [0 ].start_time
@@ -1876,11 +1774,11 @@ Function Format-And-Publish-Some {
1876
1774
1877
1775
# Print "Fractals" if this is a set of fractals, otherwise print "Wings", determined from the first encounter
1878
1776
if ($some_bosses [0 ].encounter_type -eq " fractal" ) {
1879
- $prefix = " Fractals: ${wings } "
1777
+ $prefix = " Fractals: ${locations } "
1880
1778
} elseif ($some_bosses [0 ].encounter_type -eq " golem" ) {
1881
1779
$prefix = " Training Golems"
1882
1780
} else {
1883
- $prefix = " Wings : ${wings } "
1781
+ $prefix = " Wings : ${locations } "
1884
1782
}
1885
1783
1886
1784
# Create the data object
@@ -2317,8 +2215,8 @@ Function Complete-UploadTo-DpsReport {
2317
2215
# SIG # Begin signature block
2318
2216
# MIIFhQYJKoZIhvcNAQcCoIIFdjCCBXICAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
2319
2217
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
2320
- # AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQU+5UYBcZn+VlRBThpZG1vt6VZ
2321
- # ew2gggMYMIIDFDCCAfygAwIBAgIQLNFTiNzlwrtPtvlsLl9i3DANBgkqhkiG9w0B
2218
+ # AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQU/GhSVzu0l2h0n1d1K04F2dQx
2219
+ # /O2gggMYMIIDFDCCAfygAwIBAgIQLNFTiNzlwrtPtvlsLl9i3DANBgkqhkiG9w0B
2322
2220
# AQsFADAiMSAwHgYDVQQDDBdMMEctMTAxMDg2IENvZGUgU2lnbmluZzAeFw0xOTA1
2323
2221
# MTEwNjIxMjNaFw0yMDA1MTEwNjQxMjNaMCIxIDAeBgNVBAMMF0wwRy0xMDEwODYg
2324
2222
# Q29kZSBTaWduaW5nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAz8yX
@@ -2338,11 +2236,11 @@ Function Complete-UploadTo-DpsReport {
2338
2236
# HgYDVQQDDBdMMEctMTAxMDg2IENvZGUgU2lnbmluZwIQLNFTiNzlwrtPtvlsLl9i
2339
2237
# 3DAJBgUrDgMCGgUAoHgwGAYKKwYBBAGCNwIBDDEKMAigAoAAoQKAADAZBgkqhkiG
2340
2238
# 9w0BCQMxDAYKKwYBBAGCNwIBBDAcBgorBgEEAYI3AgELMQ4wDAYKKwYBBAGCNwIB
2341
- # FTAjBgkqhkiG9w0BCQQxFgQUUktKg8EmXtMtgAjVGpPPhpuswfcwDQYJKoZIhvcN
2342
- # AQEBBQAEggEAMLI0RK9zejI1IWC4RHBGkuDx0qWVqvuqfdEpmgBWqEbZy8O0DUiO
2343
- # DK5fyn7gQwBuXBDLVa+OXLjcIy+2AamhJmvAusxTc3OiIdTGBXxuYi6mZZUtWlG+
2344
- # 9rWk7pBzLw7j7iSzCqSHNvaKHVO+3IUq1Sg0j73YTUao0vS6gE31IpAsGad3uNHF
2345
- # 2cm6ybkWX/Ky80+wYx84EBLXvJa5ci/Z6qunDJjvCe+ISjQAEzsQEigaW2KHSip+
2346
- # u6oCT81TBTE0PaoOxjyok0J7kGM85WmL8LUF7xDvG3fwQ1AbeFmuIlvRM/VqmuS+
2347
- # oDEQBFXp1rtsQ4x3wYA0Fe+QpgkGII42rA ==
2239
+ # FTAjBgkqhkiG9w0BCQQxFgQU3qdKcVd70q59H/hVQmI5kRD53ZwwDQYJKoZIhvcN
2240
+ # AQEBBQAEggEAHE+NfqKwzqlyKhAYhpX9nFFKlIBU13WifiBIsF1PT2bDpd1Tyicb
2241
+ # czZomilvsRZHXpac7E+g1PGeR20QGIV87h7DROvDUF/llDnX4UbkeuDYLKunU30H
2242
+ # EUCfGtAI9Og6Qd5NIwNfBfXw/lkSs+ugNr3b0JZY5NbyxuZkPSL/2P3M9XaxBbMX
2243
+ # lFWNah06xw8ctccPFJrq3KhD0KnWc7FecaIRjAPqpWvvfORuRnEJ0nrofBL9LX2J
2244
+ # pjpZpukZ6bH7vLQfQVF6XqqMAO3BREWEt7K8IIRVEna8abp9RkqaYrMJPmYMOWTO
2245
+ # ocnJCJj5/iJ6jCquRurpxfPCHF37jXbMbg ==
2348
2246
# SIG # End signature block
0 commit comments