Jump to content
boris cardona

How can I increase the maximum combination of the chipped gems, cracket, etc ... ?

Recommended Posts

2 hours ago, boris cardona said:

How can I increase the maximum combination of the chipped gems, cracket, etc ... ?

You have to add a check on the gem combine condition function so you avoid players having higher level than intended gems and probably another condition on the forge condition function to check they can't forge a higher level than intended gem in case they somehow got it elsewhere from combining.

  • Like 1

Share this post


Link to post
Share on other sites

check can_unite_item_main

delete or modify

	local Item2_Lv = Get_StoneLv ( Item2 )
	local Item3_Lv = Get_StoneLv ( Item3 )
	if ItemID2 == 6718 or ItemID2 == 6717 then 
		if Item2_Lv>=2 or Item3_Lv >= 2 then 
			SystemNotice ( role , "Gem can improved to level 2 at most.")
			return 0
		end
	end	
	if ItemID2 >= 6817 and ItemID2 <= 6831 then 
		if Item2_Lv>=3 or Item3_Lv >= 3 then 
			SystemNotice ( role , "Gem can improved to level 3 at most.")
			return 0
		end
	end	
	
	if ItemType2 == 49 and ItemType3 == 49 then
		if Item2_Lv >= 9 or Item3_Lv >= 9 then
			SystemNotice ( role , "Gem Lv max")
			return 0
		end
	end

 

  • Like 1

Discord:Wolfen#1498

https://www.patreon.com/ReTop

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...