From df84f7af240a89c2f1b76137d5bd1de3c61c5e99 Mon Sep 17 00:00:00 2001 From: rtw1x1 Date: Sat, 27 Dec 2025 21:27:50 +0000 Subject: [PATCH] Update uicharacter.py --- assets/root/uicharacter.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/root/uicharacter.py b/assets/root/uicharacter.py index de2912ab..fddd0e0a 100644 --- a/assets/root/uicharacter.py +++ b/assets/root/uicharacter.py @@ -518,7 +518,7 @@ class CharacterWindow(ui.ScriptWindow): except: #import exception #exception.Abort("CharacterWindow.RefreshStatus.BindObject") - ## 게임이 튕겨 버림 + ## Prevents game crash pass self.__RefreshStatusPlusButtonList() @@ -792,7 +792,7 @@ class CharacterWindow(ui.ScriptWindow): skillLevel = getSkillLevel(slotIndex) skillType = getSkillType(skillIndex) - ## 승마 스킬 예외 처리 + ## Horse riding skill exception handling if player.SKILL_INDEX_RIDING == skillIndex: if 1 == skillGrade: skillLevel += 19 @@ -920,11 +920,11 @@ class CharacterWindow(ui.ScriptWindow): def CanShowPlusButton(self, skillIndex, skillLevel, curStatPoint): - ## 스킬이 있으면 + ## Check if skill exists if 0 == skillIndex: return False - ## 레벨업 조건을 만족한다면 + ## Check if skill can be leveled up if not skill.CanLevelUpSkill(skillIndex, skillLevel): return False @@ -1043,8 +1043,8 @@ class CharacterWindow(ui.ScriptWindow): mouseModule.mouseController.DeattachObject() - ## FIXME : 스킬을 사용했을때 슬롯 번호를 가지고 해당 슬롯을 찾아서 업데이트 한다. - ## 매우 불합리. 구조 자체를 개선해야 할듯. + ## FIXME: When using a skill, find and update the slot by slot number. + ## Very inefficient. The structure itself needs improvement. def OnUseSkill(self, slotIndex, coolTime): skillIndex = player.GetSkillIndex(slotIndex) skillType = skill.GetSkillType(skillIndex)