Jump to content

Catalin2o14

Inactive Member
  • Posts

    98
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Catalin2o14

  1. M2 Download Center

    This is the hidden content, please
    ( Internal )

    Hi friend.

    Spoiler

    283412telechargement-1-.png

     

    In uitooltip.py,

    Updated AFFECT_DICT like this:

    Spoiler

    283343telechargement.png

     

    ex: at APPLY_MAX_HP ,3000 ,is the maximum value, change to all bonuses with your maximum value

    next, modify this function like this:
        

    def __GetAffectString(self, affectType, affectValue, smax = 0):
            if 0 == affectType:
                return None
    
            if 0 == affectValue:
                return None
    
            try:
                if self.AFFECT_DICT[affectType][1] == affectValue and smax != 0:
                    return self.AFFECT_DICT[affectType][0](affectValue) + " |cFFFF0000|hMax"
                else:
                    return self.AFFECT_DICT[affectType][0](affectValue)
            except TypeError:
                return "UNKNOWN_VALUE[%s] %s" % (affectType, affectValue)
            except KeyError:
                return "UNKNOWN_TYPE[%s] %s" % (affectType, affectValue)

                
    Search for:

    def __AppendAttributeInformation


    change this line:

    affectString = self.__GetAffectString(type, value)


     with this

     affectString = self.__GetAffectString(type, value, 1)


     

     

    • Metin2 Dev 51
    • Eyes 2
    • Dislove 1
    • Confused 3
    • Good 22
    • Love 3
    • Love 41
  2. 10 hours ago, DanielFVS said:

    Hi, does anyone know how to solve this? Thanks :D


    spacer.png

     

    look in your files for the function that updates the amount of yang and what other trade gold do you have.

    you probably have the function of yang twice

    https://metin2.download/picture/cqH75q464kv7YQ2L0HT5y3kvKjn6OHye/.png

     

    edit as you like, you can take the example from the picture

    • Metin2 Dev 1
    • Love 1
    • Love 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.