Skip to content

Commit

Permalink
Added Combat Art Tab
Browse files Browse the repository at this point in the history
  • Loading branch information
VelouriasMoon committed Nov 24, 2020
1 parent f1a7ebd commit 734cee9
Show file tree
Hide file tree
Showing 24 changed files with 1,431 additions and 19 deletions.
Binary file modified .vs/Progenitor/v16/.suo
Binary file not shown.
24 changes: 15 additions & 9 deletions DataFiles/Data/Sections/CombatArtBlock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,56 +11,62 @@ class CombatArtBlock
{
public short RequiredWeapon { get; set; }
public sbyte Avoid { get; set; }
public byte Might { get; set; }
public sbyte Crit { get; set; }
public sbyte Hit { get; set; }
public sbyte Avoid2 { get; set; }
public byte Effect { get; set; }
public byte RequiredClass { get; set; }
public byte unk_0xA { get; set; }
public byte DurabilityCost { get; set; }
public byte MaxRange { get; set; }
public byte MinRange { get; set; }
public byte unk_0xD { get; set; }
public byte unk_0xE { get; set; }
public byte WeapType { get; set; }
public byte unk_0xF { get; set; }
public byte Effectiveness { get; set; }
public byte Flags { get; set; }
public short unk_0x11 { get; set; }
public byte unk_0x11 { get; set; }

public void Read(EndianBinaryReader fixed_data)
{
RequiredWeapon = fixed_data.ReadInt16();
Avoid = fixed_data.ReadSByte();
Might = fixed_data.ReadByte();
Crit = fixed_data.ReadSByte();
Hit = fixed_data.ReadSByte();
Avoid2 = fixed_data.ReadSByte();
Effect = fixed_data.ReadByte();
RequiredClass = fixed_data.ReadByte();
unk_0xA = fixed_data.ReadByte();
DurabilityCost = fixed_data.ReadByte();
MaxRange = fixed_data.ReadByte();
MinRange = fixed_data.ReadByte();
unk_0xD = fixed_data.ReadByte();
unk_0xE = fixed_data.ReadByte();
WeapType = fixed_data.ReadByte();
unk_0xF = fixed_data.ReadByte();
Effectiveness = fixed_data.ReadByte();
Flags = fixed_data.ReadByte();
unk_0x11 = fixed_data.ReadInt16();
unk_0x11 = fixed_data.ReadByte();
}

public void Write(EndianBinaryWriter fixed_data)
{
fixed_data.WriteInt16(RequiredWeapon);
fixed_data.WriteSByte(Avoid);
fixed_data.WriteByte(Might);
fixed_data.WriteSByte(Crit);
fixed_data.WriteSByte(Hit);
fixed_data.WriteSByte(Avoid2);
fixed_data.WriteByte(Effect);
fixed_data.WriteByte(RequiredClass);
fixed_data.WriteByte(unk_0xA);
fixed_data.WriteByte(DurabilityCost);
fixed_data.WriteByte(MaxRange);
fixed_data.WriteByte(MinRange);
fixed_data.WriteByte(unk_0xD);
fixed_data.WriteByte(unk_0xE);
fixed_data.WriteByte(WeapType);
fixed_data.WriteByte(unk_0xF);
fixed_data.WriteByte(Effectiveness);
fixed_data.WriteByte(Flags);
fixed_data.WriteInt16(unk_0x11);
fixed_data.WriteByte(unk_0x11);
}
}
}
938 changes: 929 additions & 9 deletions FixedDataMain.Designer.cs

Large diffs are not rendered by default.

482 changes: 481 additions & 1 deletion FixedDataMain.cs

Large diffs are not rendered by default.

Binary file added Images/Arts/Axe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Arts/Bow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Arts/Fist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Arts/Lance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Arts/Other.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Arts/Sword.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions Progenitor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,12 @@
<EmbeddedResource Include="Images\Items\Seal.png" />
<EmbeddedResource Include="Images\Items\Stat_Booster.png" />
<EmbeddedResource Include="Images\Items\Torch.png" />
<EmbeddedResource Include="Images\Arts\Axe.png" />
<EmbeddedResource Include="Images\Arts\Bow.png" />
<EmbeddedResource Include="Images\Arts\Fist.png" />
<EmbeddedResource Include="Images\Arts\Lance.png" />
<EmbeddedResource Include="Images\Arts\Other.png" />
<EmbeddedResource Include="Images\Arts\Sword.png" />
<Content Include="So_this.ico" />
</ItemGroup>
<ItemGroup />
Expand Down
Binary file modified bin/Debug/Progenitor.exe
Binary file not shown.
Binary file modified bin/Debug/Progenitor.pdb
Binary file not shown.
Binary file modified bin/Release/Progenitor.exe
Binary file not shown.
Binary file modified bin/Release/Progenitor.pdb
Binary file not shown.
Binary file modified obj/Debug/Progenitor.csproj.GenerateResource.cache
Binary file not shown.
Binary file modified obj/Debug/Progenitor.csprojAssemblyReference.cache
Binary file not shown.
Binary file modified obj/Debug/Progenitor.exe
Binary file not shown.
Binary file modified obj/Debug/Progenitor.pdb
Binary file not shown.
Binary file not shown.
Binary file modified obj/Release/Progenitor.csproj.GenerateResource.cache
Binary file not shown.
Binary file modified obj/Release/Progenitor.csprojAssemblyReference.cache
Binary file not shown.
Binary file modified obj/Release/Progenitor.exe
Binary file not shown.
Binary file modified obj/Release/Progenitor.pdb
Binary file not shown.

0 comments on commit 734cee9

Please sign in to comment.