Skip to content

Commit

Permalink
Pick mc simplification and grow mat fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeFZ authored Jul 23, 2023
1 parent 9694a1f commit 1310a58
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 122 deletions.
4 changes: 3 additions & 1 deletion DragaliaAPI.Shared.Test/Unit/MasterAssetTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace DragaliaAPI.Shared.Test.Unit;

public class MasterAssetTest
{
[Fact]
[Fact]
public void CharaData_Get_ReturnsExpectedProperties()
{
CharaData laxi = MasterAsset.MasterAsset.CharaData.Get(Charas.GalaLaxi);
Expand Down Expand Up @@ -64,6 +64,8 @@ public void CharaData_Get_ReturnsExpectedProperties()
AwakeNeedEntityType5: EntityTypes.Dew,
AwakeNeedEntityId5: 0,
AwakeNeedEntityQuantity5: 25000,
GrowMaterialOnlyStartDate: DateTimeOffset.UnixEpoch,
GrowMaterialOnlyEndDate: DateTimeOffset.UnixEpoch,
UniqueGrowMaterialId1: Materials.GalaLaxisConviction,
UniqueGrowMaterialId2: Materials.GalaLaxisDevotion,
GrowMaterialId: Materials.Empty,
Expand Down
4 changes: 4 additions & 0 deletions DragaliaAPI.Shared/MasterAsset/Models/CharaData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ public record CharaData(
Materials UniqueGrowMaterialId1,
Materials UniqueGrowMaterialId2,
Materials GrowMaterialId,
[property: JsonConverter(typeof(MasterAssetDateTimeOffsetConverter))]
DateTimeOffset GrowMaterialOnlyStartDate,
[property: JsonConverter(typeof(MasterAssetDateTimeOffsetConverter))]
DateTimeOffset GrowMaterialOnlyEndDate,
int DefaultAbility1Level,
int DefaultAbility2Level,
int DefaultAbility3Level,
Expand Down
3 changes: 2 additions & 1 deletion DragaliaAPI.Shared/MasterAsset/Models/ManaCircle/ManaNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ public record ManaNode(
int UniqueGrowMaterialCount2,
int GrowMaterialCount,
[property: JsonPropertyName("MC_0")] int MC_0,
string ManaCircleName
string ManaCircleName,
int Step
);
Loading

0 comments on commit 1310a58

Please sign in to comment.