fix command character adding

This commit is contained in:
SELEKCJONER
2024-09-10 01:51:59 +02:00
parent 10e0aa6386
commit 745e6ca164
2 changed files with 2 additions and 4 deletions

View File

@@ -129,7 +129,7 @@ namespace EpinelPS.Database
public string Nickname = "SomePlayer";
public int ProfileIconId = 39900;
public bool ProfileIconIsPrism = false;
public int ProfileFrame = 1;
public int ProfileFrame = 25;
public bool IsAdmin = false;
public bool sickpulls = false;
public bool IsBanned = false;

View File

@@ -275,12 +275,10 @@ namespace EpinelPS
{
if (!user.HasCharacter(c))
{
// Generate a unique character ID
int id = user.GenerateUniqueCharacterId();
user.Characters.Add(new Database.Character()
{
CostumeId = 0,
Csn = id,
Csn = c,
Grade = 0,
Level = 1,
Skill1Lvl = 1,