public UserMagic(BinaryReader reader) { Spell = (Spell)reader.ReadByte(); Info = MagicInfo.GetMagicInfo(Spell); Level = reader.ReadByte(); Key = reader.ReadByte(); Experience = reader.ReadUInt16(); if (Envir.LoadVersion < 15) { return; } IsTempSpell = reader.ReadBoolean(); }
public UserMagic(Spell spell) { Spell = spell; Info = MagicInfo.GetMagicInfo(Spell); }