Jump to content

Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

7 minutes ago, morfhere said:

Code: https://pastebin.com/HSV97uW6

error:global name 'vnum' is not defined

 

sorry my english is bad

    def __GetAttributeColor(self, index, bonus, value, vnum):
        if value > 0:
            if index >= 5:
                if self.MAX_5_BONUS(bonus) and value == self.MAX_5_BONUS[bonus]:
                    return self.SPECIAL_POSITIVE_COLOR_MAX5
                else:
                    return self.SPECIAL_POSITIVE_COLOR2
            else:
                if vnum > 0 and MAX_7_BONUS(bonus) and value == MAX_7_BONUS[bonus]:
                    return self.SPECIAL_POSITIVE_COLOR_MAX7
                else:
                    return self.SPECIAL_POSITIVE_COLOR
        elif value == 0:
            return self.NORMAL_COLOR
        else:
            return self.NEGATIVE_COLOR

 

Link to comment
Share on other sites

https://pastebin.com/ErTYyHV1

:(

18 minut temu, PeaceMaker napisał:

    def __GetAttributeColor(self, index, bonus, value, vnum):
        if value > 0:
            if index >= 5:
                if self.MAX_5_BONUS(bonus) and value == self.MAX_5_BONUS[bonus]:
                    return self.SPECIAL_POSITIVE_COLOR_MAX5
                else:
                    return self.SPECIAL_POSITIVE_COLOR2
            else:
                if vnum > 0 and MAX_7_BONUS(bonus) and value == MAX_7_BONUS[bonus]:
                    return self.SPECIAL_POSITIVE_COLOR_MAX7
                else:
                    return self.SPECIAL_POSITIVE_COLOR
        elif value == 0:
            return self.NORMAL_COLOR
        else:
            return self.NEGATIVE_COLOR

 

https://pastebin.com/ErTYyHV1

:(

Link to comment
Share on other sites

4 minuty temu, PeaceMaker napisał:

I think you're posting in the wrong section and you also has to show me your uitooltip.py 

Yes, I know I did not give the topic here.
I could not find the department.
if anyone can let this topic be moved.
I am already sending this file

Yes google translator xd

https://pastebin.com/fNs1P7LG

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



  • Similar Content

  • Activity

    1. 3

      [Discussion] Rain - The First Person that leaked the M2 Files

    2. 0

      [Client] All tabs opening after quest/npc talk or even shop // PORTS

    3. 0

      Arrow does not hide at warp

    4. 0

      Problem with sidebar by vegas

    5. 58

      Discord Rich Presence

    6. 145

      Full Costume Mount System

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.