feat: 중복체크 로직 수정

This commit is contained in:
aube.lee
2025-03-03 17:36:43 +09:00
parent aae787eb0d
commit f075e2b231
5 changed files with 15 additions and 12 deletions

View File

@@ -1424,7 +1424,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: 0, y: -35}
m_SizeDelta: {x: -100, y: 50}
m_SizeDelta: {x: -140, y: 50}
m_Pivot: {x: 0.5, y: 1}
--- !u!222 &4244979283802085290
CanvasRenderer:
@@ -1482,12 +1482,12 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 32
m_fontSizeBase: 32
m_fontSize: 34.9
m_fontSizeBase: 42
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_enableAutoSizing: 1
m_fontSizeMin: 32
m_fontSizeMax: 42
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512

View File

@@ -105,7 +105,7 @@ namespace TON
else
{
Debug.LogError("닉네임 변경 실패: " + bro.GetMessage());
callback?.Invoke(false, bro.GetCode());
callback?.Invoke(false, bro.GetStatusCode());
}
});
}

View File

@@ -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);
}
// 현재 레벨에서 다음 레벨까지 필요한 경험치 계산

View File

@@ -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()