feat: 중복체크 로직 수정
This commit is contained in:
@@ -105,7 +105,7 @@ namespace TON
|
||||
else
|
||||
{
|
||||
Debug.LogError("닉네임 변경 실패: " + bro.GetMessage());
|
||||
callback?.Invoke(false, bro.GetCode());
|
||||
callback?.Invoke(false, bro.GetStatusCode());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -140,8 +140,8 @@ namespace TON
|
||||
// 공격력과 방어력 업데이트
|
||||
private void UpdateStats(int currentLevel)
|
||||
{
|
||||
player.attackPower *= 1 + (currentLevel - 1) / attackGrowthFactor;
|
||||
player.defensivePower *= 1 + (currentLevel - 1) / defensiveIntention;
|
||||
player.attackPower = player.attackPower * (1 + (currentLevel - 1) / attackGrowthFactor);
|
||||
player.defensivePower = player.defensivePower * (1 + (currentLevel - 1) / defensiveIntention);
|
||||
}
|
||||
|
||||
// 현재 레벨에서 다음 레벨까지 필요한 경험치 계산
|
||||
|
||||
@@ -114,6 +114,9 @@ namespace TON
|
||||
{
|
||||
Debug.LogError("서버 오류 :: 캐릭터 닉네임 저장 실패");
|
||||
}
|
||||
|
||||
cancelButton.interactable = true;
|
||||
confirmButton.interactable = true;
|
||||
}
|
||||
});
|
||||
});
|
||||
@@ -122,7 +125,7 @@ namespace TON
|
||||
private void DuplicateNickname()
|
||||
{
|
||||
nicknameCondition.text = "이미 사용중인 이름입니다.";
|
||||
nicknameCondition.color = Color.red;
|
||||
nicknameCondition.color = Color.yellow;
|
||||
}
|
||||
|
||||
public void OnClickCancelButton()
|
||||
|
||||
Reference in New Issue
Block a user