Jump to content

[Pergaminho do Retorno] - Point Marquer


Anderson Fabris
 Share

Recommended Posts

Descrição no Pergaminho do Retorno, aonde exatamente tá o POINT .

 

Exemplo:

proxy.php?image=https%3A%2F%2Fwww.imagevisit.com%2Fimages%2F2019%2F08%2F31%2FdRGCdab.png&hash=b3bdc1cac84b494c3a9260e8aab5a848

 

 

uitooltip.py

# Procure

    def __AppendPotionInformation(self):
       
# Substitua

   
    def AppendAntiFlagInformation(self):
        flagList = [
            [item.ITEM_ANTIFLAG_GIVE, "ticareti"],
            [item.ITEM_ANTIFLAG_SAFEBOX, "depolanması"],
            [item.ITEM_ANTIFLAG_DROP, "düşürülmesi"],
            [item.ITEM_ANTIFLAG_SELL, "satılması"],
            [item.ITEM_ANTIFLAG_MYSHOP, "pazara koyulması"],
            [item.ITEM_ANTIFLAG_DESTROY, "silinmesi"],
        ]

        antiflagNames_First = ""
        antiflagNames_Second = ""
        antiflagNames_Third = ""
        antiflagCount = 0
        for i in xrange(len(flagList)):
            if item.IsAntiFlag(flagList[i][0]):
                antiflagCount += 1
                if antiflagCount > 4:
                    antiflagNames_Third += flagList[i][1] + ", "
                elif antiflagCount > 2:
                    antiflagNames_Second += flagList[i][1] + ", "
                else:
                    antiflagNames_First += flagList[i][1] + ", "
        if antiflagNames_First != "":
            self.AppendSpace(5)
            if antiflagNames_Third != "":
                self.AppendTextLine("Bu nesnenin "+antiflagNames_First, self.DISABLE_COLOR, True)
                self.AppendTextLine(antiflagNames_Second, self.DISABLE_COLOR, True)
                self.AppendTextLine(antiflagNames_Third[:-2]+" mümkün değil.", self.DISABLE_COLOR, True)
            elif antiflagNames_Second != "":
                self.AppendTextLine("Bu nesnenin "+antiflagNames_First, self.DISABLE_COLOR, True)
                self.AppendTextLine(antiflagNames_Second[:-2]+" mümkün değil.", self.DISABLE_COLOR, True)
            else:
                self.AppendTextLine("Bu nesnenin "+antiflagNames_First[:-2]+" mümkün değil.", self.DISABLE_COLOR, True)

            textLine.SetFeather()
           
# Procure

        self.ShowToolTip()

    def __DragonSoulInfoString (self, dwVnum):
       
# Adicione

        self.AppendAntiFlagInformation() ## show antiflag info

 

 

Fonte: XxZeMaHSeRxX 

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...