Jump to content

Separating dots in bonuses


Recommended Posts

  • Honorable Member

Find in uitooltip.py:

			return self.AFFECT_DICT[affectType](affectValue)

Change:

			return self.AFFECT_DICT[affectType]("{:0,.0f}".format(affectValue).replace(',', '.'))

Code generated from this post

Also you need to change bonus names from locale_game.txt. Because value has been converted to string...

example:

TOOLTIP_MAX_HP	Max. HP +%d	SA

to:

TOOLTIP_MAX_HP	Max. HP +%s	SA

1f99cbbb27.png

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1

 

Link to comment
Share on other sites

1 godzinę temu, Mali61 napisał:

Find in uitooltip.py:


			return self.AFFECT_DICT[affectType](affectValue)

Change:


			return self.AFFECT_DICT[affectType]("{:0,.0f}".format(affectValue).replace(',', '.'))

Code generated from this post

Also you need to change bonus names from locale_game.txt. Because value has been converted to string...

example:


TOOLTIP_MAX_HP	Max. HP +%d	SA

to:


TOOLTIP_MAX_HP	Max. HP +%s	SA

1f99cbbb27.png

Ok, but....

1203_145325.thumb.jpg.094fb2e1968a2344630ddf8dde9da155.jpg1203_145331.thumb.jpg.635f867e79b83b7134714985feb914aa.jpg

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.