Browse Source

More data fixes and added a bunch of disclaimers

main
Jonathan 11 months ago
parent
commit
071d2f5e35
  1. 8
      IGP/Pages/DataTables/DataTablesPage.razor
  2. 7
      IGP/Pages/Database/DatabasePage.razor
  3. 9
      IGP/Pages/Database/DatabaseSinglePage.razor
  4. 1
      IGP/Pages/Database/Parts/EntityFilterComponent.razor
  5. 7
      IGP/Pages/HarassCalculatorPage.razor
  6. 31
      Model/Entity/Data/DATA.cs
  7. 1
      Model/Entity/Data/Ids_Entity.cs
  8. 1
      Services/Immortal/EntityFilterService.cs

8
IGP/Pages/DataTables/DataTablesPage.razor

@ -6,6 +6,14 @@
<LayoutLargeContentComponent>
<WebsiteTitleComponent>Data Tables</WebsiteTitleComponent>
<AlertComponent Type="@SeverityType.Warning">
<Title>Errors Present</Title>
<Message>
Incomplete feature for easily comparing unit stats.
</Message>
</AlertComponent>
<MudTabs Elevation="2">
<MudTabPanel Text="Attacks">
<WeaponTable/>

7
IGP/Pages/Database/DatabasePage.razor

@ -10,6 +10,13 @@
<LayoutLargeContentComponent>
<WebsiteTitleComponent>Database</WebsiteTitleComponent>
<AlertComponent Type="@SeverityType.Warning">
<Title>Errors Present</Title>
<Message>
Database information was quickly updated to the June 2025 Playtest. Expect a lot of errors in the data.
</Message>
</AlertComponent>
<PaperComponent>
<FormDisplayComponent Label="Patch">
<Display>

9
IGP/Pages/Database/DatabaseSinglePage.razor

@ -10,6 +10,15 @@
<LayoutLargeContentComponent>
<AlertComponent Type="@SeverityType.Warning">
<Title>Errors Present</Title>
<Message>
Database information was quickly updated to the June 2025 Playtest. Expect a lot of errors in the data.
</Message>
</AlertComponent>
<PaperComponent>
<FormDisplayComponent Label="Patch">
<Display>

1
IGP/Pages/Database/Parts/EntityFilterComponent.razor

@ -71,6 +71,7 @@
<FormLabelComponent>Immortal</FormLabelComponent>
<ChildContent>
<option value="@DataType.Any" selected>Any</option>
<option value="@DataType.IMMORTAL_Atzlan">Atzlan</option>
<option value="@DataType.IMMORTAL_Mala">Mala</option>
<option value="@DataType.IMMORTAL_Xol">Xol</option>
<option value="@DataType.IMMORTAL_Orzum">Orzum</option>

7
IGP/Pages/HarassCalculatorPage.razor

@ -8,6 +8,13 @@
<LayoutMediumContentComponent>
<WebsiteTitleComponent>Harass Calculator</WebsiteTitleComponent>
<AlertComponent Type="@SeverityType.Warning">
<Title>Might be out of date</Title>
<Message>
This calculation is from several years ago and might not reflect the current state of the game.
</Message>
</AlertComponent>
<PaperComponent>
Credit to Zard for deriving the formula.

31
Model/Entity/Data/DATA.cs

@ -697,7 +697,7 @@ public abstract class DATA
{
DataType.VANGUARD_RootShepard_Atzlan,
new EntityModel(DataType.VANGUARD_RootShepard_Atzlan, EntityType.Army)
.AddPart(new EntityInfoModel { Name = "Bone Stalker", Descriptive = DescriptiveType.Skirmisher })
.AddPart(new EntityInfoModel { Name = "Root Shepard", Descriptive = DescriptiveType.Skirmisher })
.AddPart(new EntityTierModel { Tier = 2 })
.AddPart(new EntityRequirementModel
{
@ -740,6 +740,8 @@ public abstract class DATA
})
.AddPart(new EntityHotkeyModel { Hotkey = "F", HotkeyGroup = "Z" })
.AddPart(new EntityFactionModel { Faction = DataType.FACTION_Aru })
.AddPart(new EntityVanguardAddedModel
{ ReplaceId = DataType.UNIT_BloodAnchor, ImmortalId = DataType.IMMORTAL_Atzlan })
.AddPart(new EntityProductionModel
{ Alloy = 150, Ether = 125, BuildTime = 32, ProducedBy = DataType.BUILDING_AmberWomb })
.AddPart(new EntitySupplyModel { Takes = 6 })
@ -1261,7 +1263,6 @@ public abstract class DATA
HeavyDamage = 5
})
.AddPart(new EntityIdUpgradeModel { Id = DataType.UPGRADE_Offering })
.AddPart(new EntityIdUpgradeModel { Id = DataType.UPGRADE_BloodMothersFevor })
.AddPart(new EntityIdPassiveModel { Id = DataType.ABILITY_Offering })
},
{
@ -1911,28 +1912,6 @@ public abstract class DATA
.AddPart(new EntityProductionModel
{ Alloy = 100, Ether = 75, BuildTime = 60, ProducedBy = DataType.BUILDING_Neurocyte })
},
{
DataType.UPGRADE_BloodMothersFevor,
new EntityModel(DataType.UPGRADE_BloodMothersFevor, EntityType.Tech)
.AddPart(new EntityInfoModel
{ Name = "Blood Mother's Fevor", Descriptive = DescriptiveType.Upgrade })
.AddPart(new EntityHotkeyModel { Hotkey = "CAPSLOCK", HotkeyGroup = "X" })
.AddPart(new EntityFactionModel { Faction = DataType.FACTION_Aru })
.AddPart(new EntityVanguardReplacedModel
{ ImmortalId = DataType.IMMORTAL_Xol, ReplacedById = DataType.UPGRADE_Ambush })
.AddPart(new EntityRequirementModel
{
Id = DataType.BUILDING_RedVale,
Requirement = RequirementType.Research_Building
})
.AddPart(new EntityRequirementModel
{
Id = DataType.BUILDING_AltarOfTheWorthy,
Requirement = RequirementType.Research_Building
})
.AddPart(new EntityProductionModel
{ Alloy = 100, Ether = 150, BuildTime = 100, ProducedBy = DataType.BUILDING_RedVale })
},
{
DataType.UPGRADE_PursuitLigaments,
new EntityModel(DataType.UPGRADE_PursuitLigaments, EntityType.Tech)
@ -2163,8 +2142,6 @@ public abstract class DATA
Id = DataType.BUILDING_RedVale,
Requirement = RequirementType.Research_Building
})
.AddPart(new EntityVanguardAddedModel
{ ReplaceId = DataType.UPGRADE_BloodMothersFevor, ImmortalId = DataType.IMMORTAL_Xol })
},
{
DataType.UPGRADE_BloodPlague,
@ -4010,7 +3987,7 @@ public abstract class DATA
Name = "Ether Maw", Descriptive = DescriptiveType.Ether_Extractor,
Description = "Ether Extractor (Structure) - Must be placed on an Ether Node."
}) //TODO Add Ether Node to database
.AddPart(new EntityHotkeyModel { Hotkey = "CAPSLOCK", HotkeyGroup = "C" })
.AddPart(new EntityHotkeyModel { Hotkey = "TAB", HotkeyGroup = "C" })
.AddPart(new EntityFactionModel { Faction = DataType.FACTION_Aru })
.AddPart(new EntityProductionModel { Alloy = 225, BuildTime = 30, RequiresWorker = true })
.AddPart(new EntityVitalityModel

1
Model/Entity/Data/Ids_Entity.cs

@ -134,7 +134,6 @@ public static class DataType
public static string UPGRADE_TitheBlades = nameof(UPGRADE_TitheBlades);
public static string UPGRADE_Offering = nameof(UPGRADE_Offering);
public static string UPGRADE_BloodMothersFevor = nameof(UPGRADE_BloodMothersFevor);
public static string UPGRADE_PursuitLigaments = nameof(UPGRADE_PursuitLigaments);
public static string UPGRADE_EthericFibers = nameof(UPGRADE_EthericFibers);
public static string UPGRADE_ObstructingSwarm = nameof(UPGRADE_ObstructingSwarm);

1
Services/Immortal/EntityFilterService.cs

@ -157,6 +157,7 @@ public class EntityFilterService : IEntityFilterService
if (_selectedFaction == DataType.FACTION_Aru || _selectedFaction == DataType.Any)
{
_immortalChoices.Add(DataType.IMMORTAL_Atzlan);
_immortalChoices.Add(DataType.IMMORTAL_Mala);
_immortalChoices.Add(DataType.IMMORTAL_Xol);
}

Loading…
Cancel
Save