mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 20:55:52 +12:00
Add presents and fix bugs
This commit is contained in:
parent
d9cdd05acb
commit
0cf1665a11
12 changed files with 273 additions and 123 deletions
|
@ -35,8 +35,10 @@ namespace HISP.Game.Horse
|
|||
{
|
||||
name = loadName;
|
||||
}
|
||||
|
||||
Sex = breed.GenderTypes()[GameServer.RandomNumberGenerator.Next(0, 1)];
|
||||
if(GameServer.RandomNumberGenerator.Next(0, 100) > 50)
|
||||
Sex = breed.GenderTypes()[1];
|
||||
else
|
||||
Sex = breed.GenderTypes()[0];
|
||||
|
||||
description = loadDescription;
|
||||
Breed = breed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue