k1dda
28-11-2019, 10:45 PM
Intra in root-uiToolTip.py si cauta:
def AppendWearableInformation(self):
{
[...]
}
Inlocuieste toata functia cu:
def AppendWearableInformation(self):
antiFlagJobSexDict = {
"Masculin" : item.IsAntiFlag(item.ITEM_ANTIFLAG_FEMALE),
"Feminin" : item.IsAntiFlag(item.ITEM_ANTIFLAG_MALE),
}
antiFlagJobDict = {
"Razboinic" : not item.IsAntiFlag(item.ITEM_ANTIFLAG_WARRIOR),
"Assassin" : not item.IsAntiFlag(item.ITEM_ANTIFLAG_ASSASSIN),
"Sura" : not item.IsAntiFlag(item.ITEM_ANTIFLAG_SURA),
"Shaman" : not item.IsAntiFlag(item.ITEM_ANTIFLAG_SHAMAN),
}
self.AppendSpace(5)
self.AppendHorizontalLine()
textLine = self.AppendTextLine("Disponibil pentru", self.TITLE_COLOR, True)
antiFlagJobSexNames = [name for name, flag in antiFlagJobSexDict.iteritems() if flag]
antiFlagJobNames = [name for name, flag in antiFlagJobDict.iteritems() if flag]
if antiFlagJobSexNames:
self.AppendSpace(1)
textLine = self.AppendTextLine('{} {}'.format(', '.join(antiFlagJobSexNames), ''), self.CONDITION_COLOR)
if antiFlagJobNames:
self.AppendSpace(3)
textLine = self.AppendTextLine('{} {}'.format(', '.join(antiFlagJobNames), ''), self.CONDITION_COLOR)
textLine.SetFeather()
(p.s: taburile trebuiesc rearanjate)
<b>You have to register to ba able to see this link</b> (<b>You have to register to ba able to see this link</b>)
def AppendWearableInformation(self):
{
[...]
}
Inlocuieste toata functia cu:
def AppendWearableInformation(self):
antiFlagJobSexDict = {
"Masculin" : item.IsAntiFlag(item.ITEM_ANTIFLAG_FEMALE),
"Feminin" : item.IsAntiFlag(item.ITEM_ANTIFLAG_MALE),
}
antiFlagJobDict = {
"Razboinic" : not item.IsAntiFlag(item.ITEM_ANTIFLAG_WARRIOR),
"Assassin" : not item.IsAntiFlag(item.ITEM_ANTIFLAG_ASSASSIN),
"Sura" : not item.IsAntiFlag(item.ITEM_ANTIFLAG_SURA),
"Shaman" : not item.IsAntiFlag(item.ITEM_ANTIFLAG_SHAMAN),
}
self.AppendSpace(5)
self.AppendHorizontalLine()
textLine = self.AppendTextLine("Disponibil pentru", self.TITLE_COLOR, True)
antiFlagJobSexNames = [name for name, flag in antiFlagJobSexDict.iteritems() if flag]
antiFlagJobNames = [name for name, flag in antiFlagJobDict.iteritems() if flag]
if antiFlagJobSexNames:
self.AppendSpace(1)
textLine = self.AppendTextLine('{} {}'.format(', '.join(antiFlagJobSexNames), ''), self.CONDITION_COLOR)
if antiFlagJobNames:
self.AppendSpace(3)
textLine = self.AppendTextLine('{} {}'.format(', '.join(antiFlagJobNames), ''), self.CONDITION_COLOR)
textLine.SetFeather()
(p.s: taburile trebuiesc rearanjate)
<b>You have to register to ba able to see this link</b> (<b>You have to register to ba able to see this link</b>)