Quote:
Originally Posted by ZeTrOox
Severity Code Description Project File Row Column Deletion status
Error CS0266 Unable to implicitly convert type 'int' to 'short'. An explicit conversion exists (is a cast missing?) OpenNos.Mapper OpenNos-dev \ OpenNos.Mapper \ Mappers \ ItemMapper.cs 109 37 N / A
for :
output.DarkResistance = input.DarkResistance;
output.FireResistance = input.FireResistance;
output.LightResistance = input.LightResistance;
output.WaterResistance = input.WaterResistance;
Help plz
|
to change this :
Code:
public int DarkResistance { get; set; }
to this :
Code:
public short DarkResistance { get; set; }
cannot be so hard i think you should begin with an easier thing to program than this if you have no knowledge.
btw. you have to change the other resistance too.