daily pastebin goal
73%
SHARE
TWEET

Untitled

a guest Mar 23rd, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         #elif item.ITEM_TYPE_QUEST == itemType:
  2.         #if item.ITEM_TYPE_COSTUME == itemType and itemSubType == item.COSTUME_PET:
  3.         if itemSubType == item.COSTUME_TYPE_PET:
  4.         #if itemType != item.ITEM_TYPE_COSTUME and itemSubType != item.COSTUME_TYPE_PET:
  5.             if itemVnum >= 53001 and itemVnum <= 53026:
  6.                 if app.ENABLE_TARGET_RENDER_EXTENSION:
  7.                     petVnum = item.GetValue(0)
  8.                     if petVnum != 0:
  9.                         self.__ModelPreview(petVnum)
  10.  
  11.                 self.AppendSpace(5)
  12.                 for g in xrange(item.ITEM_APPLY_MAX_NUM):
  13.                     (affectType, affectValue) = item.GetAffect(g)
  14.                     affectString = self.__GetAffectString(affectType, affectValue)
  15.                     if affectString:
  16.                         affectColor = self.GetChangeTextLineColor(affectValue)
  17.                         self.AppendTextLine(affectString, affectColor)
  18.  
  19.             for i in xrange(item.LIMIT_MAX_NUM):
  20.                 (limitType, limitValue) = item.GetLimit(i)
  21.  
  22.                 if item.LIMIT_REAL_TIME == limitType:
  23.                     self.AppendMallItemLastTime(metinSlot[0])
  24.  
  25.         elif item.ITEM_TYPE_DS == itemType:
  26.             self.AppendTextLine(self.__DragonSoulInfoString(itemVnum))
  27.             self.__AppendAttributeInformation(attrSlot)
  28.         else:
  29.             self.__AppendLimitInformation()
  30.  
  31.         for i in xrange(item.LIMIT_MAX_NUM):
  32.             (limitType, limitValue) = item.GetLimit(i)
  33.             #dbg.TraceError("LimitType : %d, limitValue : %d" % (limitType, limitValue))
  34.             if item.LIMIT_REAL_TIME_START_FIRST_USE == limitType:
  35.                 self.AppendRealTimeStartFirstUseLastTime(item, metinSlot, i)
  36.                 #dbg.TraceError("2) REAL_TIME_START_FIRST_USE flag On ")
  37.  
  38.             elif item.LIMIT_TIMER_BASED_ON_WEAR == limitType:
  39.                 self.AppendTimerBasedOnWearLastTime(metinSlot)
  40.                 #dbg.TraceError("1) REAL_TIME flag On ")
  41.  
  42.         self.ShowToolTip()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top