Jump to content

Recommended Posts

Why not make like that:

//1.) Search:

		### Hair Preview Image ###
		if self.__IsHair(itemVnum):	
			self.__AppendHairIcon(itemVnum)

		### Description ###
		self.AppendDescription(itemDesc, 26)
		self.AppendDescription(itemSummary, 26, self.CONDITION_COLOR)

//2.) Add bellow:

		if itemVnum in (71135, 71136):
			table_item = {
				71135 : ["Max HP. +1000", "Against monsters +10%"],
				71136 : ["Max HP. +500", "Against monsters +5%"]}
				#99999 : ["desc index 0", "desc index 1", "desc index 2", "desc index 3", "desc index 4"],
				#[...........................]}				
			self.AppendSpace(5)	
			for i in xrange(len(table_item[itemVnum])):
				self.AppendTextLine(table_item[itemVnum][i], self.SPECIAL_POSITIVE_COLOR)	

  • Love 2
Link to comment
https://metin2.dev/topic/12458-ring-doesnt-show-bonuses/#findComment-71668
Share on other sites

45 minutes ago, VegaS said:

Why not make like that:

//1.) Search:


		### Hair Preview Image ###
		if self.__IsHair(itemVnum):	
			self.__AppendHairIcon(itemVnum)

		### Description ###
		self.AppendDescription(itemDesc, 26)
		self.AppendDescription(itemSummary, 26, self.CONDITION_COLOR)

//2.) Add bellow:


		if itemVnum in (71135, 71136):
			table_item = {
				71135 : ["Max HP. +1000", "Against monsters +10%"],
				71136 : ["Max HP. +500", "Against monsters +5%"]}
				#99999 : ["desc index 0", "desc index 1", "desc index 2", "desc index 3", "desc index 4"],
				#[...........................]}				
			self.AppendSpace(5)	
			for i in xrange(len(table_item[itemVnum])):
				self.AppendTextLine(table_item[itemVnum][i], self.SPECIAL_POSITIVE_COLOR)	

 

Good idea! Thanks ! I'll try it.

  • Love 1
Link to comment
https://metin2.dev/topic/12458-ring-doesnt-show-bonuses/#findComment-71676
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.