Jump to content
Maintenance ×
×
×
  • Create New...
  • 0

How to see bonuses at type 33


DarkFire

Question

  • Premium

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

2 answers to this question

Recommended Posts

  • 0

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)
	
  • Love 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


  • Activity

    1. 3

      Back to the Dungeon System 7, 8, 9th Floor Problem

    2. 3

      Back to the Dungeon System 7, 8, 9th Floor Problem

    3. 3

      Back to the Dungeon System 7, 8, 9th Floor Problem

    4. 0

      Some mobs dont drop items

    5. 3

      Back to the Dungeon System 7, 8, 9th Floor Problem

    6. 691

      [Group] Daily Music - Share your favorite!

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.