adeptfrog Posted June 10, 2020 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 14 Reputation: 8 Joined: 05/05/20 Last Seen: 5 hours ago Share Posted June 10, 2020 View File Advanced Safe Refiner Just sharing my own safe refiner NPC that mimics the Safe Refinement System of ROM:EL. As the item increases its refinement level, the materials required will grow exponentially as it requires the copy of the item you are refining based on its next refinement level. The NPC can only refine the item if its next refinement process is not safe anymore for Hollgrehenn. Settings: .@npc_name$ = Name of your NPC .@price - The required zeny for refining. .@canfail - Refining can fail but keeps the target equipment and stays at the current refinement level (0 = disabled; 1 = enabled) .@same - Check if the materials has the same refinement level (0 = disabled; 1 = enabled) .@startsafe - Start counting materials after the safe refine on Hollgrehenn (0 = disabled; 1 = enabled) .@mineralcostmultiplier - The Oridecon/Elunium required per refine based on [.@startsafe] settings (0 = disabled) [ START SAFE TABLE ] At Weapon Lvl 4 / Armor Lvl 1 +4 -> +5 = 1 copy +5 -> +6 = 2 copies +6 -> +7 = 3 copies +7 -> +8 = 4 copies +8 -> +9 = 5 copies +9 -> +10 = 6 copies Submitter dizonivan11 Submitted 06/09/20 Category Utilities Video Content Author dizonivan11 1 Quote Link to comment Share on other sites More sharing options...
sader1992 Posted June 10, 2020 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: 5 hours ago Share Posted June 10, 2020 line 97 for (.@i = 0; .@i < @inventorylist_count; ++.@i) { if (@inventorylist_id[.@i] == .@refineitemid && !@inventorylist_equip[.@i] && @inventorylist_card1[.@i] == 0 && @inventorylist_refine[.@i] == 0) { delitem @inventorylist_id[.@i], 1; } } this could delete more that what it need to refine an item , you see it will delete all the items , for example , you need 5 to refine and you have 10 , the 10 will be deleted also like 4 (.@safe = 10;)is not used in the script 1 Quote Link to comment Share on other sites More sharing options...
adeptfrog Posted June 16, 2020 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 14 Reputation: 8 Joined: 05/05/20 Last Seen: 5 hours ago Author Share Posted June 16, 2020 On 6/11/2020 at 6:44 AM, sader1992 said: line 97 for (.@i = 0; .@i < @inventorylist_count; ++.@i) { if (@inventorylist_id[.@i] == .@refineitemid && !@inventorylist_equip[.@i] && @inventorylist_card1[.@i] == 0 && @inventorylist_refine[.@i] == 0) { delitem @inventorylist_id[.@i], 1; } } this could delete more that what it need to refine an item , you see it will delete all the items , for example , you need 5 to refine and you have 10 , the 10 will be deleted also like 4 (.@safe = 10;)is not used in the script That was some major flaw on my end, its now fixed, Thank you so much for this! Quote Link to comment Share on other sites More sharing options...
b1rbert Posted July 14, 2024 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 47 Reputation: 3 Joined: 05/04/14 Last Seen: 11 hours ago Share Posted July 14, 2024 Hey, really like the idea of the Refining Gear with the same Gear. Any chance you could give us an option to turn off the need for the needed material weapon to be the same refine level as the weapon you want to refine? cheers Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.