Welcome to Metin2Resources

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

[Py] Maxime Bonus ITM

JIGSAW

Be the best, Ignore the rest.
Staff member
Administrator
Premium
Joined
Jul 14, 2025
Messages
134
Reaction score
1,098
Points
93
Discord
jigsaw86
6f8b221e3d937dab19a59637c6460999.png

Search:
Code:
def __AppendAttributeInformation(self, attrSlot, itemAbsChance = 0, lockedattr = -1, isTransfer = False, isCostumeStole = 0):

Replace:
Code:
def __AppendAttributeInformation(self, attrSlot, itemAbsChance = 0, lockedattr = -1, isTransfer = False, isCostumeStole = 0):
        if 0 != attrSlot:
            for i in xrange(player.ATTRIBUTE_SLOT_MAX_NUM):
                if isTransfer:
                    if i == 5 or i == 6:
                        continue
                
                type = attrSlot[i][0]
                value = attrSlot[i][1]

                if 0 == value:
                    continue

                affectString = self.__GetAffectString(type, value)
                
                if app.ENABLE_ACCE_SYSTEM:
                    if item.GetItemType() == item.ITEM_TYPE_COSTUME:
                        if item.GetItemSubType() == item.COSTUME_TYPE_ACCE:
                            if itemAbsChance != 0:
                                value = self.CalcAcceValue(value, itemAbsChance)
                                affectString = self.__GetAffectString(type, value)
                
                if affectString:
                    # Logica pentru Culoare Galbena la VALOAREA MAXIMA
                    if type in self.MAX_ATTRIBUTE_VALUES:
                        max_val = self.MAX_ATTRIBUTE_VALUES[type]
                        # |cffffff00 este codul pentru Galben, |r reseteaza culoarea la cea originala
                        affectString += " |cffffff00(Max: %d)|r" % max_val

                    if isCostumeStole:
                        if value > 0:
                            affectColor = self.SPECIAL_POSITIVE_COLOR
                        elif value == 0:
                            affectColor = self.NORMAL_COLOR
                        else:
                            affectColor = self.NEGATIVE_COLOR
                    else:
                        affectColor = self.__GetAttributeColor(i, value)
                    
                    if i == lockedattr and app.ATTR_LOCK:
                        affectColor = 0xff4287f5
                        self.AppendTextLine("<< "+affectString+" >>", affectColor)
                    else:
                        self.AppendTextLine(affectString, affectColor)
 
636Threads
3,982Messages
1,277Members
AecusLatest member
Back
Top