Jump to content

Jawwad

Premium
  • Posts

    153
  • Joined

  • Last visited

  • Days Won

    3
  • Feedback

    0%

Posts posted by Jawwad

  1. La 13.11.2017 la 22:05, North a spus:

    Code updated, that one posted wasn`t complete on my client (wasn`t appending the info to the space).

     

    
            ## Start of Pet System Bonus info ##
            elif itemVnum >= 53001 and itemVnum <= 53999:
                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 = grp.GenerateColor(0.3824, 0.5804, 0.9824, 1.0) # You can play here for the text color.
                        self.AppendTextLine(affectString, affectColor)
                self.__AppendAttributeInformation(attrSlot)
            ## End of Pet System Bonus info ##


    Some screenshots:

    dVIxszi.jpg

     

     

    For who doesn`t have a brain, here is the tabulation:

    0mI3Jjp.png
    Hope it will be useful to someone.

    I did exactly same but it doesn't work.

    • Good 1
×
×
  • 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.