Jump to content

How To Make Colors Attibutes


Recommended Posts

Hello dev.

 

Hey guys I saw that you can change the attributes add a 6th underside of 5 and we have to change the colors 6th

sorry my bad igles google translator: D
Open:

uitooltip.py
search: def __GetAttributeColor(self, index, value):

    def __GetAttributeColor(self, index, value):
        if value > 0:
            if index >= 5:
                return self.SPECIAL_POSITIVE_COLOR2
            else:
                return self.SPECIAL_POSITIVE_COLOR
        elif value == 0:
            return self.NORMAL_COLOR
        else:
            return self.NEGATIVE_COLOR
replaced by:
    def __GetAttributeColor(self, index, value):
        if value > 0:
            if index >= 6:
                return self.SPECIAL_POSITIVE_COLOR2
            else:
                return self.SPECIAL_POSITIVE_COLOR
        elif value == 0:
            return self.NORMAL_COLOR
        else:
            return self.NEGATIVE_COLOR

repack  root and :D

Spoiler

150549Screenshot-9.png.aeb9344b0f81721ad

 

Link to comment
Share on other sites

  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...
  • 10 months later...
  • Premium
23 minutes ago, Aioria said:

it will works with 7° too right?

substitute

if index >= 6:

with

if index >= 7:

and it will work with the 7th bonus too.

 

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
Share on other sites

  • Premium
12 minutes ago, Aioria said:

in this way it will work for both 6-7°?

ofc?

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
Share on other sites

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.