Added game files from TMP4
This commit is contained in:
@ -16,20 +16,20 @@ import constInfo
|
||||
import emotion
|
||||
import chr
|
||||
|
||||
SHOW_ONLY_ACTIVE_SKILL = FALSE
|
||||
SHOW_ONLY_ACTIVE_SKILL = False
|
||||
SHOW_LIMIT_SUPPORT_SKILL_LIST = []
|
||||
HIDE_SUPPORT_SKILL_POINT = FALSE
|
||||
HIDE_SUPPORT_SKILL_POINT = False
|
||||
|
||||
if localeInfo.IsYMIR():
|
||||
SHOW_LIMIT_SUPPORT_SKILL_LIST = [121, 122, 123, 124, 126, 127, 129, 128, 131, 137, 138, 139, 140,141,142]
|
||||
if not localeInfo.IsCHEONMA():
|
||||
HIDE_SUPPORT_SKILL_POINT = TRUE
|
||||
HIDE_SUPPORT_SKILL_POINT = True
|
||||
SHOW_LIMIT_SUPPORT_SKILL_LIST = [121, 122, 123, 124, 126, 127, 129, 128, 131, 137, 138, 139, 140,141,142]
|
||||
elif localeInfo.IsJAPAN() or (localeInfo.IsEUROPE() and app.GetLocalePath() != "locale/ca") and (localeInfo.IsEUROPE() and app.GetLocalePath() != "locale/br"):
|
||||
HIDE_SUPPORT_SKILL_POINT = TRUE
|
||||
HIDE_SUPPORT_SKILL_POINT = True
|
||||
SHOW_LIMIT_SUPPORT_SKILL_LIST = [121, 122, 123, 124, 126, 127, 129, 128, 131, 137, 138, 139, 140]
|
||||
else:
|
||||
HIDE_SUPPORT_SKILL_POINT = TRUE
|
||||
HIDE_SUPPORT_SKILL_POINT = True
|
||||
|
||||
FACE_IMAGE_DICT = {
|
||||
playerSettingModule.RACE_WARRIOR_M : "icon/face/warrior_m.tga",
|
||||
@ -259,7 +259,7 @@ class CharacterWindow(ui.ScriptWindow):
|
||||
"d:/ymir work/ui/game/quest/slot_button_01.sub",\
|
||||
"d:/ymir work/ui/game/quest/slot_button_02.sub",\
|
||||
"d:/ymir work/ui/game/quest/slot_button_03.sub",\
|
||||
"d:/ymir work/ui/game/quest/slot_button_03.sub", TRUE)
|
||||
"d:/ymir work/ui/game/quest/slot_button_03.sub", True)
|
||||
|
||||
self.questNameList = []
|
||||
self.questLastTimeList = []
|
||||
@ -598,7 +598,7 @@ class CharacterWindow(ui.ScriptWindow):
|
||||
|
||||
mouseController = mouseModule.mouseController
|
||||
|
||||
if FALSE == mouseController.isAttached():
|
||||
if False == mouseController.isAttached():
|
||||
|
||||
srcSlotIndex = self.__RealSkillSlotToSourceSlot(skillSlotIndex)
|
||||
selectedSkillIndex = player.GetSkillIndex(srcSlotIndex)
|
||||
@ -761,7 +761,7 @@ class CharacterWindow(ui.ScriptWindow):
|
||||
|
||||
def OnPressEscapeKey(self):
|
||||
self.Close()
|
||||
return TRUE
|
||||
return True
|
||||
|
||||
def OnUpdate(self):
|
||||
self.__UpdateQuestClock()
|
||||
@ -861,13 +861,13 @@ class CharacterWindow(ui.ScriptWindow):
|
||||
|
||||
## <20><>ų<EFBFBD><C5B3> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
if 0 == skillIndex:
|
||||
return FALSE
|
||||
return False
|
||||
|
||||
## <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ѵٸ<D1B4>
|
||||
if not skill.CanLevelUpSkill(skillIndex, skillLevel):
|
||||
return FALSE
|
||||
return False
|
||||
|
||||
return TRUE
|
||||
return True
|
||||
|
||||
def __RefreshSkillPlusButton(self, name):
|
||||
global HIDE_SUPPORT_SKILL_POINT
|
||||
@ -1173,34 +1173,34 @@ class CharacterWindow(ui.ScriptWindow):
|
||||
|
||||
def __CanUseSkillNow(self):
|
||||
if 0 == net.GetMainActorSkillGroup():
|
||||
return FALSE
|
||||
return False
|
||||
|
||||
return TRUE
|
||||
return True
|
||||
|
||||
def __CanUseHorseSkill(self):
|
||||
|
||||
slotIndex = player.GetSkillSlotIndex(player.SKILL_INDEX_RIDING)
|
||||
|
||||
if not slotIndex:
|
||||
return FALSE
|
||||
return False
|
||||
|
||||
grade = player.GetSkillGrade(slotIndex)
|
||||
level = player.GetSkillLevel(slotIndex)
|
||||
if level < 0:
|
||||
level *= -1
|
||||
if grade >= 1 and level >= 1:
|
||||
return TRUE
|
||||
return True
|
||||
|
||||
return FALSE
|
||||
return False
|
||||
|
||||
def __IsChangedHorseRidingSkillLevel(self):
|
||||
ret = FALSE
|
||||
ret = False
|
||||
|
||||
if -1 == self.canUseHorseSkill:
|
||||
self.canUseHorseSkill = self.__CanUseHorseSkill()
|
||||
|
||||
if self.canUseHorseSkill != self.__CanUseHorseSkill():
|
||||
ret = TRUE
|
||||
ret = True
|
||||
|
||||
self.canUseHorseSkill = self.__CanUseHorseSkill()
|
||||
return ret
|
||||
|
Reference in New Issue
Block a user