Vasil 71 Report post Posted December 10, 2016 Sup guys, i made a custom system that contains an item and this item is forgeable, but since the gem is kinda custom i don't want it to be forgeable until Level 9 I'd like to make max Gem level for this item as level 2 or 3. If anyone knows how, or got an idea how to create this function,can you nicely tell me in the replies? thanks ~Vasil Quote Share this post Link to post Share on other sites
Jelo 7 Report post Posted December 10, 2016 57 minutes ago, Vasil said: Sup guys, i made a custom system that contains an item and this item is forgeable, but since the gem is kinda custom i don't want it to be forgeable until Level 9 I'd like to make max Gem level for this item as level 2 or 3. If anyone knows how, or got an idea how to create this function,can you nicely tell me in the replies? thanks ~Vasil hello vasil. you can try and check the function or broken/cracked/chipped gems. and copy that for those custom gems. Quote Share this post Link to post Share on other sites
Vasil 71 Report post Posted December 10, 2016 26 minutes ago, Jelo said: hello vasil. you can try and check the function or broken/cracked/chipped gems. and copy that for those custom gems. Hi, i'm actually using 1.36 server files, and these gems doesn't have any restriction for max forge level. Quote Share this post Link to post Share on other sites
Lucky 65 Report post Posted December 10, 2016 forge.lua check function can_unite_item_main ( Table ) 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 Quote Share this post Link to post Share on other sites
Vasil 71 Report post Posted December 10, 2016 @Lucky ill t3st it asap Quote Share this post Link to post Share on other sites