Jump to content
  • 0

New type of item - bonus description



Hello, i created new type of item and i have a little problem.


I have bonuses on mysql and bonuses are working but i don't see them on description (uitooltip).


I compared code of ITEM_BELT with my new item and i don't see that something is missing.


Somebody know, in which file i can looking for problem/missing part? Best regards.

Link to comment
Share on other sites

  • Answers 7
  • Created
  • Last Reply

Top Posters For This Question

7 answers to this question

Recommended Posts

  • 0
On 1/14/2021 at 9:44 PM, dattg1337 said:

@Zoom did you edit correctly applytypes in clientside item_proto ?

Yes, bonuses work perfectly.


On 1/14/2021 at 9:48 PM, Hunger said:

Show the python part.


In python i have only new class of UI in uiiinventory and functions for open this gui with button.




elif item.ITEM_TYPE_RUNE == itemType:


Uiscriptfile and that's all in python part.


Edit: I fixed my problem, thank you both of us for trying help :)


Edited by Zoom
Link to comment
Share on other sites

  • 0

try this in uitooltip
you can edit the vnum of items


        if itemVnum in (71135, 71136):
            table_item = {
                71135 : ["Max HP. +1000", "Against monsters +10%"],
                71136 : ["Max HP. +500", "Against monsters +5%"]}            
            for i in xrange(len(table_item[itemVnum])):
                self.AppendTextLine(table_item[itemVnum][i], self.SPECIAL_POSITIVE_COLOR)


Link to comment
Share on other sites

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

  • Activity

    1. 43

      Upgraded Reference (TMP4 Base) By Ulthar

    2. 2

      TXT File To Lower Case [Phaselis Map Works]

    3. 43

      Upgraded Reference (TMP4 Base) By Ulthar

    4. 43

      Upgraded Reference (TMP4 Base) By Ulthar

    5. 5

      Official Environment Effect Options [REVERSED]

    6. 1

      4 Alternatives Open Source to Trello

  • Recently Browsing

    • No registered users viewing this page.
  • 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.