Added more defaults.

This commit is contained in:
Filip Maj 2016-01-10 02:59:16 -05:00
parent 3205bd1c83
commit 625ee299f7
3 changed files with 26 additions and 7 deletions

View File

@ -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;

View File

@ -24,8 +24,8 @@ namespace FFXIVClassic_Map_Server.dataobjects.chara
public uint[] statusShownTime = new uint[20];
public uint[] command = new uint[64];
public int[] commandCategory = new int[64];
public int commandBorder = 0x20;
public byte[] commandCategory = new byte[64];
public byte commandBorder = 0x20;
public bool commandAcquired = false;
public bool[] additionalCommandAcquired = new bool[1];

View File

@ -69,8 +69,27 @@ namespace FFXIVClassic_Map_Server.dataobjects.chara
charaWork.property[2] = 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);
}