1.Quote:
cannot implicitly convert type 'byte' to 'bool'
Code:
P.WriteByte(I.Enchant); P.Move(6); if [COLOR="Red"][U](I.Locked)[/U][/COLOR] { P.WriteInt16(3); }
Code:
P.WriteByte(I.Enchant); P.Move(6); if [U][COLOR="Red"](I.Locked)[/COLOR][/U] P.WriteInt16(3); else P.WriteInt16(0); if (I.Color == 0) I.Color = (Game.Item.ArmorColor)new Random().Next(1, 9); P.WriteInt32((uint)I.Color); P.WriteInt32(I.Progress);
Code:
P.WriteByte(I.Enchant); P.Move(6); if [U][COLOR="Red"](I.Locked)[/COLOR][/U] P.WriteInt16(3); else P.WriteInt16(0); if (I.Color == 0) I.Color = (Game.Item.ArmorColor)new Random().Next(1, 9); P.WriteInt32((uint)I.Color); P.WriteInt32(I.Progress);