CHANGE:
Code:
public sbyte DarkResistance {get; set; }
public sbyte FireResistance {get; set; }
public sbyte LightResistance {get; set; }
public sbyte WaterResistance {get; set; }
Code:
public short DarkResistance {get; set; }
public short FireResistance {get; set; }
public short LightResistance {get; set; }
public short WaterResistance {get; set; }
CHANGE
Code:
npc.FireResistance = Convert.ToSByte (currentLine [4]); npc.WaterResistance = Convert.ToSByte (currentLine [5]); npc.LightResistance = Convert.ToSByte (currentLine [6]); npc.DarkResistance = Convert.ToSByte (currentLine [7]);
Code:
npc.FireResistance = Convert.ToInt16 (currentLine [4]); npc.WaterResistance = Convert.ToInt16 (currentLine [5]); npc.LightResistance = Convert.ToInt16 (currentLine [6]); npc.DarkResistance = Convert.ToInt16 (currentLine [7]);
CHANGE:
Code:
int[] basicHp = new int[100];
int[] basicMp = new int[100];
int[] basicXp = new int[100];
int[] basicJXp = new int[100];
Code:
int[] basicHp = new int[101];
int[] basicMp = new int[101];
int[] basicXp = new int[101];
int[] basicJXp = new int[101];
CHANGE:
Code:
public short DarkResistance {get; set; }
public short FireResistance {get; set; }
public short LightResistance {get; set; }
public short WaterResistance {get; set; }
Code:
public int DarkResistance {get; set; }
public int FireResistance {get; set; }
public int LightResistance {get; set; }
public int WaterResistance {get; set; }







