Catalin2o14 142 Posted August 25, 2020 Share Posted August 25, 2020 M2 Download Center This is the hidden content, please Sign In or Sign Up ( Internal ) Hi friend. Spoiler In uitooltip.py, Updated AFFECT_DICT like this: Spoiler ex: at APPLY_MAX_HP ,3000 ,is the maximum value, change to all bonuses with your maximum value next, modify this function like this: def __GetAffectString(self, affectType, affectValue, smax = 0): if 0 == affectType: return None if 0 == affectValue: return None try: if self.AFFECT_DICT[affectType][1] == affectValue and smax != 0: return self.AFFECT_DICT[affectType][0](affectValue) + " |cFFFF0000|hMax" else: return self.AFFECT_DICT[affectType][0](affectValue) except TypeError: return "UNKNOWN_VALUE[%s] %s" % (affectType, affectValue) except KeyError: return "UNKNOWN_TYPE[%s] %s" % (affectType, affectValue) Search for: def __AppendAttributeInformation change this line: affectString = self.__GetAffectString(type, value) with this affectString = self.__GetAffectString(type, value, 1) 53 2 1 3 22 3 42 Link to comment Share on other sites More sharing options...
Randaron 2 Posted October 18, 2020 Share Posted October 18, 2020 1018 16:59:09668 :: networkModule.py(line:208) SetSelectCharacterPhase system.py(line:130) __pack_import system.py(line:110) _process_result introSelect.py(line:23) <module> system.py(line:130) __pack_import system.py(line:110) _process_result uiAffectShower.py(line:8) <module> system.py(line:130) __pack_import networkModule.SetSelectCharacterPhase - <type 'exceptions.IndentationError'>:expected an indented block (uiToolTip.py, line 1386) 1018 16:59:09668 :: ============================================================================================================ 1018 16:59:09668 :: Abort!!!! Link to comment Share on other sites More sharing options...
kevin 262 Posted October 31, 2020 Share Posted October 31, 2020 (edited) On 10/18/2020 at 6:00 PM, Randaron said: 1018 16:59:09668 :: networkModule.py(line:208) SetSelectCharacterPhase system.py(line:130) __pack_import system.py(line:110) _process_result introSelect.py(line:23) <module> system.py(line:130) __pack_import system.py(line:110) _process_result uiAffectShower.py(line:8) <module> system.py(line:130) __pack_import networkModule.SetSelectCharacterPhase - <type 'exceptions.IndentationError'>:expected an indented block (uiToolTip.py, line 1386) 1018 16:59:09668 :: ============================================================================================================ 1018 16:59:09668 :: Abort!!!! You didn't indent spaces correctly in the uiToolTip.py file. Make sure the spaces are indented correctly with the [Tab] button. This is important in any programing language. Edited October 31, 2020 by kevin Life rips __________________________ Link to comment Share on other sites More sharing options...
Aioria 10 Posted February 24, 2021 Share Posted February 24, 2021 Hi! Thank you for release, how can I just change skill's text color instead of add "Max" after it? Link to comment Share on other sites More sharing options...
danhakhavro 42 Posted April 15, 2021 Share Posted April 15, 2021 works but very buggy and with many errors. Link to comment Share on other sites More sharing options...
Migxelito 10 Posted April 22, 2021 Share Posted April 22, 2021 The best! 1 Link to comment Share on other sites More sharing options...
tomika1997 2 Posted February 6, 2023 Share Posted February 6, 2023 0206 10:47:17406 :: networkModule.py(line:208) SetSelectCharacterPhase system.py(line:130) __pack_import system.py(line:110) _process_result introSelect.py(line:23) <module> system.py(line:130) __pack_import system.py(line:110) _process_result uiAffectShower.py(line:8) <module> system.py(line:130) __pack_import networkModule.SetSelectCharacterPhase - <type 'exceptions.SyntaxError'>:invalid syntax (uiToolTip.py, line 574) 0206 10:47:17406 :: ============================================================================================================ 0206 10:47:17406 :: Abort!!!! My 574, line What is wrong? item.APPLY_CON : localeInfo.TOOLTIP_CON, 15, 1 Link to comment Share on other sites More sharing options...
spectrum 7 Posted July 14, 2023 Share Posted July 14, 2023 (edited) it's work example : item.APPLY_MAX_HP : [localeInfo.TOOLTIP_MAX_HP, 2000], Edited July 14, 2023 by spectrum Link to comment Share on other sites More sharing options...
Pika 0 Posted August 11, 2023 Share Posted August 11, 2023 thank you Link to comment Share on other sites More sharing options...
sociopat32 2 Posted August 26, 2023 Share Posted August 26, 2023 You forgot to put [ in front of localeInfo. Example: item.APPLY_MAX_HP : [localeInfo.TOOLTIP_MAX_HP, 3000], Explicit example: item.APPLY_MAX_HP : ->[<-localeInfo.TOOLTIP_MAX_HP, 3000], From my source: AFFECT_DICT = { item.APPLY_MAX_HP : [localeInfo.TOOLTIP_MAX_HP, 3000], item.APPLY_MAX_SP : [localeInfo.TOOLTIP_MAX_SP,], item.APPLY_CON : [localeInfo.TOOLTIP_CON, 12], item.APPLY_INT : [localeInfo.TOOLTIP_INT, 12], item.APPLY_STR : [localeInfo.TOOLTIP_STR, 12], item.APPLY_DEX : [localeInfo.TOOLTIP_DEX, 12], item.APPLY_ATT_SPEED : [localeInfo.TOOLTIP_ATT_SPEED, 30], item.APPLY_MOV_SPEED : [localeInfo.TOOLTIP_MOV_SPEED, 20], item.APPLY_CAST_SPEED : [localeInfo.TOOLTIP_CAST_SPEED,], item.APPLY_HP_REGEN : [localeInfo.TOOLTIP_HP_REGEN, 30], item.APPLY_SP_REGEN : [localeInfo.TOOLTIP_SP_REGEN, 30], item.APPLY_POISON_PCT : [localeInfo.TOOLTIP_APPLY_POISON_PCT, 8], item.APPLY_STUN_PCT : [localeInfo.TOOLTIP_APPLY_STUN_PCT, 8], item.APPLY_SLOW_PCT : [localeInfo.TOOLTIP_APPLY_SLOW_PCT, 8], item.APPLY_CRITICAL_PCT : [localeInfo.TOOLTIP_APPLY_CRITICAL_PCT, 12], item.APPLY_PENETRATE_PCT : [localeInfo.TOOLTIP_APPLY_PENETRATE_PCT, 12], Now understand? Link to comment Share on other sites More sharing options...
Recommended Posts