Skip to content

Commit

Permalink
Updated Bons structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Rikux3 committed May 31, 2020
1 parent c62cf86 commit 7421937
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions OpenKh.Kh2/Battle/Bons.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ namespace OpenKh.Kh2.Battle
{
public class Bons
{
[Data] public byte RewardIndex { get; set; }
[Data] public byte CharacterId { get; set; }
[Data] public byte HpIncrease { get; set; }
[Data] public byte MpIncrease { get; set; }
[Data] public byte Unknown02 { get; set; }
[Data] public byte Unknown03 { get; set; }
[Data] public byte DriveGaugeUpgrade { get; set; }
[Data] public byte ItemSlotUpgrade { get; set; }
[Data] public byte AccessorySlotUpgrade { get; set; }
Expand All @@ -18,7 +18,7 @@ public class Bons
[Data] public int Unknown0c { get; set; }

public override string ToString() =>
$"HP: {HpIncrease}, MP: {MpIncrease}, AP?: {Unknown03}, ItemSlot: {ItemSlotUpgrade}, " +
$"HP: {HpIncrease}, MP: {MpIncrease}, ItemSlot: {ItemSlotUpgrade}, " +
$"Acc.Slot: {AccessorySlotUpgrade}, Bonus 1: {BonusItem1}, Bonus 2: {BonusItem2}";

public static BaseBattle<Bons> Read(Stream stream) => BaseBattle<Bons>.Read(stream);
Expand Down

0 comments on commit 7421937

Please sign in to comment.