diff --git a/src/Parsec/Shaiya/Monster/MonsterRecord.cs b/src/Parsec/Shaiya/Monster/MonsterRecord.cs index 6972a44..3a130f3 100644 --- a/src/Parsec/Shaiya/Monster/MonsterRecord.cs +++ b/src/Parsec/Shaiya/Monster/MonsterRecord.cs @@ -11,9 +11,9 @@ public sealed class MonsterRecord : ISerializable public short Level { get; set; } - public byte AI { get; set; } + public byte Ai { get; set; } - public int HP { get; set; } + public int Hp { get; set; } public byte Day { get; set; } @@ -31,17 +31,17 @@ public sealed class MonsterRecord : ISerializable public byte AttackType1 { get; set; } - public byte AttackElement1 { get; set; } + public byte AttackAni1 { get; set; } public byte AttackType2 { get; set; } - public byte AttackRange2 { get; set; } + public byte AttackAni2 { get; set; } public byte AttackType3 { get; set; } - public byte Unknown1 { get; set; } + public byte AttackAni3 { get; set; } - public byte Unknown2 { get; set; } + public byte AttackPlus3 { get; set; } public short QuestItemId { get; set; } @@ -50,8 +50,8 @@ public void Read(SBinaryReader binaryReader) MobName = binaryReader.ReadString(); ModelId = binaryReader.ReadInt16(); Level = binaryReader.ReadInt16(); - AI = binaryReader.ReadByte(); - HP = binaryReader.ReadInt32(); + Ai = binaryReader.ReadByte(); + Hp = binaryReader.ReadInt32(); Day = binaryReader.ReadByte(); Size = binaryReader.ReadByte(); Element = binaryReader.ReadByte(); @@ -60,12 +60,12 @@ public void Read(SBinaryReader binaryReader) ChaseTime = binaryReader.ReadInt32(); ChaseStep = binaryReader.ReadByte(); AttackType1 = binaryReader.ReadByte(); - AttackElement1 = binaryReader.ReadByte(); + AttackAni1 = binaryReader.ReadByte(); AttackType2 = binaryReader.ReadByte(); - AttackRange2 = binaryReader.ReadByte(); + AttackAni2 = binaryReader.ReadByte(); AttackType3 = binaryReader.ReadByte(); - Unknown1 = binaryReader.ReadByte(); - Unknown2 = binaryReader.ReadByte(); + AttackAni3 = binaryReader.ReadByte(); + AttackPlus3 = binaryReader.ReadByte(); QuestItemId = binaryReader.ReadInt16(); } @@ -74,8 +74,8 @@ public void Write(SBinaryWriter binaryWriter) binaryWriter.Write(MobName); binaryWriter.Write(ModelId); binaryWriter.Write(Level); - binaryWriter.Write(AI); - binaryWriter.Write(HP); + binaryWriter.Write(Ai); + binaryWriter.Write(Hp); binaryWriter.Write(Day); binaryWriter.Write(Size); binaryWriter.Write(Element); @@ -84,12 +84,12 @@ public void Write(SBinaryWriter binaryWriter) binaryWriter.Write(ChaseTime); binaryWriter.Write(ChaseStep); binaryWriter.Write(AttackType1); - binaryWriter.Write(AttackElement1); + binaryWriter.Write(AttackAni1); binaryWriter.Write(AttackType2); - binaryWriter.Write(AttackRange2); + binaryWriter.Write(AttackAni2); binaryWriter.Write(AttackType3); - binaryWriter.Write(Unknown1); - binaryWriter.Write(Unknown2); + binaryWriter.Write(AttackAni3); + binaryWriter.Write(AttackPlus3); binaryWriter.Write(QuestItemId); } }