Premium DarkFire 12 Posted April 18, 2017 Premium Share Posted April 18, 2017 Hello devs. I want to see bonuses for items with type 33. I try that but it dosen't work elif item.EQUIPMENT_RING1 == itemType or item.EQUIPMENT_RING2 == itemType: if itemVnum = 71136: self.AppendSpace(5) for g in xrange(item.ITEM_APPLY_MAX_NUM): (affectType, affectValue) = item.GetAffect(g) affectString = self.__GetAffectString(affectType, affectValue) if affectString: affectColor = self.GetChangeTextLineColor(affectValue) self.AppendTextLine(affectString, affectColor) My syserror : 0418 09:56:08565 :: networkModule.py(line:200) SetSelectCharacterPhase system.py(line:130) __pack_import system.py(line:110) _process_result introSelect.py(line:23) ? system.py(line:130) __pack_import system.py(line:110) _process_result uiAffectShower.py(line:8) ? system.py(line:130) __pack_import networkModule.SetSelectCharacterPhase - exceptions.SyntaxError:invalid syntax (line 1145) 0418 09:56:08565 :: ============================================================================================================ 0418 09:56:08565 :: Abort!!!! Link to comment Share on other sites More sharing options...
Active+ Member Abel(Tiger) 1196 Posted April 18, 2017 Active+ Member Share Posted April 18, 2017 if itemVnum == 71136: Link to comment Share on other sites More sharing options...
Zeph 8 Posted April 18, 2017 Share Posted April 18, 2017 Try it or give me your uitooltip.py elif item.ITEM_TYPE_RING == itemType: self.__AppendLimitInformation() self.__AppendAffectInformation() self.__AppendAttributeInformation(attrSlot) if 0 != metinSlot: bHasRealtimeFlag = 0 for i in xrange(item.LIMIT_MAX_NUM): (limitType, limitValue) = item.GetLimit(i) if item.LIMIT_REAL_TIME == limitType: bHasRealtimeFlag = 1 if 1 == bHasRealtimeFlag: self.AppendMallItemLastTime(metinSlot[0]) else: time = metinSlot[player.METIN_SOCKET_MAX_NUM-1] if 1 == item.GetValue(2): ## 실시간 이용 Flag / 장착 안해도 준다 self.AppendMallItemLastTime(time) else: self.AppendUniqueItemLastTime(time) 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now