Update uicharacter.py

This commit is contained in:
rtw1x1
2025-12-27 21:27:50 +00:00
parent 65e50a259e
commit df84f7af24

View File

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