Jump to content

[Belts] - Help bonus in description


Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

elif item.ITEM_TYPE_RING == itemType:
            self.__AppendLimitInformation()
            self.__AppendAffectInformation()
            self.__AppendAttributeInformation(attrSlot)
            self.AppendWearableInformation(itemVnum)

 

if you have bonuses in item_proto.

Link to comment
Share on other sites

1 hour ago, avertuss said:

elif item.ITEM_TYPE_RING == itemType:
            self.__AppendLimitInformation()
            self.__AppendAffectInformation()
            self.__AppendAttributeInformation(attrSlot)
            self.AppendWearableInformation(itemVnum)

 

if you have bonuses in item_proto.

18009    "CintodeLinho+9"    "ITEM_BELT"    0    1    "NONE"    "NONE"    "NONE"    "NONE"    800000    800000    0    0    10    "LEVEL"    50    "LIMIT_NONE"    0    "APPLY_MAX_HP"    1500    "APPLY_NONE"    0    "APPLY_NONE"    0    4    0    0    0    0    0    0    0    0


It did not work, I tried it that way too, but it did not work ..: /

 

elif item.ITEM_TYPE_BELT == itemType:
            if itemVnum >= 18000 and itemVnum <= 18089:
                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)
                        
            for i in xrange(item.LIMIT_MAX_NUM):
                (limitType, limitValue) = item.GetLimit(i)

                if item.LIMIT_REAL_TIME == limitType:
                    self.AppendMallItemLastTime(metinSlot[0])

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

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.