Browse Source

Merge pull request #60 from JonathanMcCaffrey/temp

Temp
main
Jonathan McCaffrey 3 years ago committed by GitHub
parent
commit
01d8b383e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      IGP/PageLayout.razor
  2. 2
      IGP/wwwroot/generated/Variables.json
  3. 13
      Model/Entity/Data/DATA.cs
  4. 9
      TestAutomation/TestSearchFeatures.cs

3
IGP/PageLayout.razor

@ -45,7 +45,6 @@
</MudHidden>
<MudSpacer />
<SearchButtonComponent Id="desktop-searchButton" />
<MudIconButton Icon="@Icons.Material.Filled.Settings" Color="Color.Inherit" Edge="Edge.End" />
</MudAppBar>
<MudHidden Breakpoint="Breakpoint.SmAndDown" Invert="true">
<MudDrawer @bind-Open="_drawerOpen" ClipMode="DrawerClipMode.Always" Elevation="2">
@ -56,8 +55,6 @@
<MudNavLink Href="/database" Icon="fa-solid fa-clipboard-list">Database</MudNavLink>
<MudSpacer />
<MudDivider Class="my-2" />
<MudNavLink Href="/settings" Icon="fa-solid fa-gear">Settings</MudNavLink>
<MudDivider Class="my-2" />
</MudNavMenu>
</MudPaper>
</MudDrawer>

2
IGP/wwwroot/generated/Variables.json

@ -1 +1 @@
[{"Key":"GamePatch","Value":"0.0.6.10097a"},{"Key":"LastUpdated","Value":"August 27, 2022"}]
[{"Key":"GamePatch","Value":"0.0.6.10097a"},{"Key":"LastUpdated","Value":"September 03, 2022"}]

13
Model/Entity/Data/DATA.cs

@ -49,7 +49,7 @@ public class DATA
Name = "Teapot", Description = "Basic scout. Every faction has this",
Notes = @"Very powerful! So Fast"
})
.AddPart(new EntityVitalityModel { Health = 70, Armor = ArmorType.Light })
.AddPart(new EntityVitalityModel { Health = 120, Armor = ArmorType.Light })
.AddPart(new EntityMovementModel { Speed = 400 })
},
{
@ -63,7 +63,7 @@ public class DATA
.AddPart(new EntityRequirementModel { Id = DataType.TEAPOT_Teapot })
.AddPart(new EntitySupplyModel { Takes = 1 })
.AddPart(new EntityProductionModel { Alloy = 100, Ether = 50 })
.AddPart(new EntityVitalityModel { Health = 100, DefenseLayer = 30, Armor = ArmorType.Light })
.AddPart(new EntityVitalityModel { Health = 120, DefenseLayer = 80, Armor = ArmorType.Light })
.AddPart(new EntityMovementModel { Speed = 280, Movement = MovementType.Air })
.AddPart(new EntityIdPassiveModel { Id = DataType.PASSIVE_Detection })
},
@ -844,7 +844,7 @@ public class DATA
.AddPart(new EntityMovementModel { Speed = 435, Movement = MovementType.Ground })
.AddPart(new EntityWeaponModel
{
LightDamage = 24, MediumDamage = 18, Damage = 12, Range = 400, AttacksPerSecond = 0.5f,
LightDamage = 30, MediumDamage = 23, Damage = 16, Range = 400, AttacksPerSecond = 0.5f,
Targets = TargetType.Ground
})
.AddPart(new EntityIdUpgradeModel { Id = DataType.UPGRADE_SiroccoScript })
@ -1291,7 +1291,7 @@ public class DATA
.AddPart(new EntityMovementModel { Speed = 424, Movement = MovementType.Ground })
.AddPart(new EntityWeaponModel
{
Damage = 13, LightDamage = 27, MediumDamage = 20, Range = 500, AttacksPerSecond = 0.7f,
Damage = 18, LightDamage = 38, MediumDamage = 28, Range = 500, AttacksPerSecond = 0.7f,
Targets = TargetType.Ground, SecondsBetweenAttacks = 1.429f
})
.AddPart(new EntityIdUpgradeModel { Id = DataType.UPGRADE_DenInstinct })
@ -3187,7 +3187,7 @@ public class DATA
})
.AddPart(new EntityWeaponModel
{
Damage = 14, Range = 700, SecondsBetweenAttacks = 1.8f, Targets
Damage = 22, Range = 700, SecondsBetweenAttacks = 1.8f, Targets
= TargetType.All
})
.AddPart(new EntityIdPassiveModel { Id = DataType.PASSIVE_HallowedWeapons })
@ -3493,6 +3493,7 @@ public class DATA
.AddPart(new EntityProductionModel { Alloy = 100, BuildTime = 18, RequiresWorker = true })
.AddPart(new EntityVitalityModel
{ Health = 300, DefenseLayer = 50, Armor = ArmorType.Heavy, IsStructure = true })
.AddPart(new EntityWeaponModel(){ Damage = 24, Range = 700, AttacksPerSecond = 1.639f, Targets = TargetType.Air})
},
{
DataType.BUPGRADE_Omnivore,
@ -3508,6 +3509,8 @@ public class DATA
.AddPart(new EntityProductionModel { Alloy = 50, BuildTime = 18, RequiresWorker = false })
.AddPart(new EntityVitalityModel
{ Health = 400, DefenseLayer = 50, Armor = ArmorType.Heavy, IsStructure = true })
.AddPart(new EntityWeaponModel(){ Damage = 24, Range = 700, AttacksPerSecond = 1.639f, Targets = TargetType.Air})
.AddPart(new EntityWeaponModel(){ Damage = 12, MediumDamage = 14, HeavyDamage = 16, Range = 700, AttacksPerSecond = 2.439f, Targets = TargetType.Ground})
},
{
DataType.BUILDING_AmberWomb,

9
TestAutomation/TestSearchFeatures.cs

@ -19,18 +19,9 @@ public class TestSearchFeatures : BaseTest
TestReport.ThrowErrors();
}
[Test]
public void JustFail()
{
TestReport.CheckPassed(false,
new TestMessage { Title = "Should Fail", Description = "Failed" });
}
[Test]
public void DesktopOpenCloseSearchDialog()
{
Website
.Goto()
.NavigationBar

Loading…
Cancel
Save