mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-24 05:35:51 +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
|
@ -6,7 +6,7 @@ namespace HISP.Game.Items
|
|||
{
|
||||
public int RandomId;
|
||||
public int ItemId;
|
||||
|
||||
public int Data;
|
||||
|
||||
|
||||
public Item.ItemInformation GetItemInfo()
|
||||
|
@ -15,10 +15,10 @@ namespace HISP.Game.Items
|
|||
|
||||
}
|
||||
|
||||
public ItemInstance(int id,int randomId = -1)
|
||||
public ItemInstance(int id,int randomId = -1, int data=0)
|
||||
{
|
||||
RandomId = RandomID.NextRandomId(randomId);
|
||||
|
||||
Data = data;
|
||||
ItemId = id;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue