boris cardona 0 Report post Posted December 5, 2020 How can I increase the maximum combination of the chipped gems, cracket, etc ... ? Quote Share this post Link to post Share on other sites
Angelix 374 Report post Posted December 6, 2020 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. 1 Quote Share this post Link to post Share on other sites
wolfenx 106 Report post Posted December 6, 2020 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 1 Quote Discord:Wolfen#1498 https://www.patreon.com/ReTop Share this post Link to post Share on other sites
boris cardona 0 Report post Posted December 8, 2020 Thanks! Quote Share this post Link to post Share on other sites