public Mount CreateMount(Character owner, MountTemplate template, bool sex) { var record = new MountRecord() { IsNew = true, TemplateId = template.Id, OwnerId = owner.Id, OwnerName = owner.Name, Name = template.Name, Sex = sex, }; record.AssignIdentifier(); AddMount(record); return(new Mount(owner, record)); }
public Mount CreateMount(Character owner, MountTemplate template) { var rand = new CryptoRandom(); return(CreateMount(owner, template, rand.Next(2) == 1)); }