Jump to content

Recommended Posts

Posted

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


 

  • Upvote 1
Posted

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

  • Love 1
Posted
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!

  • 4 years later...
Posted

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

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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...