mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-14 16:04:36 +01:00
levelup, item and synchro device fixes
This commit is contained in:
@@ -122,6 +122,18 @@ namespace nksrv.Utils
|
||||
MainQuestData.Add(tid, recieved);
|
||||
}
|
||||
}
|
||||
|
||||
public int GenerateUniqueItemId()
|
||||
{
|
||||
var num = Rng.RandomId();
|
||||
|
||||
while (Items.Any(x => x.Isn == num))
|
||||
{
|
||||
num = Rng.RandomId();
|
||||
}
|
||||
|
||||
return num;
|
||||
}
|
||||
}
|
||||
public class CoreInfo
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user