diff --git a/FFXIVClassic Map Server/actors/chara/BattleSave.cs b/FFXIVClassic Map Server/actors/chara/BattleSave.cs index 4d36202e..86819aab 100644 --- a/FFXIVClassic Map Server/actors/chara/BattleSave.cs +++ b/FFXIVClassic Map Server/actors/chara/BattleSave.cs @@ -8,7 +8,7 @@ namespace FFXIVClassic_Map_Server.dataobjects.chara { class BattleSave { - public float potencial; + public float potencial = 6.6f; public int skillLevel; public int skillLevelCap; public int[] skillPoint; diff --git a/FFXIVClassic Map Server/actors/chara/CharaWork.cs b/FFXIVClassic Map Server/actors/chara/CharaWork.cs index 4cab356f..0e8a0c6a 100644 --- a/FFXIVClassic Map Server/actors/chara/CharaWork.cs +++ b/FFXIVClassic Map Server/actors/chara/CharaWork.cs @@ -23,9 +23,9 @@ namespace FFXIVClassic_Map_Server.dataobjects.chara public ushort[] status = new ushort[20]; public uint[] statusShownTime = new uint[20]; - public uint[] command = new uint[64]; - public int[] commandCategory = new int[64]; - public int commandBorder = 0x20; + public uint[] command = new uint[64]; + public byte[] commandCategory = new byte[64]; + public byte commandBorder = 0x20; public bool commandAcquired = false; public bool[] additionalCommandAcquired = new bool[1]; diff --git a/FFXIVClassic Map Server/actors/chara/player/Player.cs b/FFXIVClassic Map Server/actors/chara/player/Player.cs index 24084bda..a9257977 100644 --- a/FFXIVClassic Map Server/actors/chara/player/Player.cs +++ b/FFXIVClassic Map Server/actors/chara/player/Player.cs @@ -67,10 +67,29 @@ namespace FFXIVClassic_Map_Server.dataobjects.chara charaWork.property[0] = 1; charaWork.property[1] = 1; charaWork.property[2] = 1; - charaWork.property[4] = 1; + charaWork.property[4] = 1; - charaWork.parameterSave.state_mainSkill[0] = 3; - charaWork.parameterSave.state_mainSkillLevel = 1; + charaWork.command[0] = 0xA0F00000 | 21001; + charaWork.command[1] = 0xA0F00000 | 21002; + charaWork.command[2] = 0xA0F00000 | 12003; + charaWork.command[3] = 0xA0F00000 | 11828; + charaWork.command[4] = 0xA0F00000 | 21005; + charaWork.command[5] = 0xA0F00000 | 21006; + charaWork.command[6] = 0xA0F00000 | 21007; + charaWork.command[7] = 0xA0F00000 | 12009; + charaWork.command[8] = 0xA0F00000 | 12010; + charaWork.command[9] = 0xA0F00000 | 12005; + charaWork.command[10] = 0xA0F00000 | 12007; + charaWork.command[11] = 0xA0F00000 | 12011; + charaWork.command[12] = 0xA0F00000 | 22012; + charaWork.command[13] = 0xA0F00000 | 22013; + charaWork.command[14] = 0xA0F00000 | 29497; + charaWork.command[15] = 0xA0F00000 | 22015; + + for (int i = 0; i < 16; i++) + charaWork.commandCategory[i] = 1; + + charaWork.commandBorder = 32; Database.loadPlayerCharacter(this); }