From f075e2b231c02f6963b6aa80b87d8cb4683e485d Mon Sep 17 00:00:00 2001 From: "aube.lee" Date: Mon, 3 Mar 2025 17:36:43 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=A4=91=EB=B3=B5=EC=B2=B4=ED=81=AC=20?= =?UTF-8?q?=EB=A1=9C=EC=A7=81=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/Gameton/Fonts/warm leaf cat Font.asset | 4 ++-- .../Resources/UI/Prefabs/UI.CharaterCreateUI.prefab | 12 ++++++------ .../Gameton/Scripts/Backend/BackendAuthManager.cs | 2 +- .../Gameton/Scripts/Character/PlayerDataManager.cs | 4 ++-- .../Assets/Gameton/Scripts/UI/CharaterCreateUI.cs | 5 ++++- 5 files changed, 15 insertions(+), 12 deletions(-) diff --git a/Gameton-06/Assets/Gameton/Fonts/warm leaf cat Font.asset b/Gameton-06/Assets/Gameton/Fonts/warm leaf cat Font.asset index a31ed825..26804af0 100644 --- a/Gameton-06/Assets/Gameton/Fonts/warm leaf cat Font.asset +++ b/Gameton-06/Assets/Gameton/Fonts/warm leaf cat Font.asset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2bb89c7f8f9b387ef5be8c10de23ff0577749828498380565179476b4ca2cf9b -size 671859 +oid sha256:1fe79edeed13063389ec0667958a42a25b015b0c0d7caf80341db4d68b4cd31d +size 673175 diff --git a/Gameton-06/Assets/Gameton/Resources/UI/Prefabs/UI.CharaterCreateUI.prefab b/Gameton-06/Assets/Gameton/Resources/UI/Prefabs/UI.CharaterCreateUI.prefab index efca40b7..1e97512e 100644 --- a/Gameton-06/Assets/Gameton/Resources/UI/Prefabs/UI.CharaterCreateUI.prefab +++ b/Gameton-06/Assets/Gameton/Resources/UI/Prefabs/UI.CharaterCreateUI.prefab @@ -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 diff --git a/Gameton-06/Assets/Gameton/Scripts/Backend/BackendAuthManager.cs b/Gameton-06/Assets/Gameton/Scripts/Backend/BackendAuthManager.cs index 94dee556..1a9d51fd 100644 --- a/Gameton-06/Assets/Gameton/Scripts/Backend/BackendAuthManager.cs +++ b/Gameton-06/Assets/Gameton/Scripts/Backend/BackendAuthManager.cs @@ -105,7 +105,7 @@ namespace TON else { Debug.LogError("닉네임 변경 실패: " + bro.GetMessage()); - callback?.Invoke(false, bro.GetCode()); + callback?.Invoke(false, bro.GetStatusCode()); } }); } diff --git a/Gameton-06/Assets/Gameton/Scripts/Character/PlayerDataManager.cs b/Gameton-06/Assets/Gameton/Scripts/Character/PlayerDataManager.cs index 5985d3d9..f879c208 100644 --- a/Gameton-06/Assets/Gameton/Scripts/Character/PlayerDataManager.cs +++ b/Gameton-06/Assets/Gameton/Scripts/Character/PlayerDataManager.cs @@ -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); } // 현재 레벨에서 다음 레벨까지 필요한 경험치 계산 diff --git a/Gameton-06/Assets/Gameton/Scripts/UI/CharaterCreateUI.cs b/Gameton-06/Assets/Gameton/Scripts/UI/CharaterCreateUI.cs index 350adcf1..05b8c8fe 100644 --- a/Gameton-06/Assets/Gameton/Scripts/UI/CharaterCreateUI.cs +++ b/Gameton-06/Assets/Gameton/Scripts/UI/CharaterCreateUI.cs @@ -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()