Neferpitou 2 Posted June 19, 2015 (edited) Anyone have shadow blacksmith can refine shadow equipments? if anyone have can you please share it thanks a lotlike this http://www.playragnarok.com/news/eventdetail.aspx?id=342 Edited June 30, 2015 by Neferpitou Quote Share this post Link to post Share on other sites
0 Neferpitou 2 Posted June 30, 2015 bump thank you Quote Share this post Link to post Share on other sites
0 Winterfox 83 Posted June 30, 2015 (edited) Isn't thast just a normal refiner that gives you a second chance if the upgrade fails? Atleast i didn't see anything about shadow gear. Edited June 30, 2015 by Winterfox Quote Share this post Link to post Share on other sites
0 Neferpitou 2 Posted July 1, 2015 what i mean is how can i +7 the COSTUME items ordinary blacksmith don't accept costume Quote Share this post Link to post Share on other sites
0 Winterfox 83 Posted July 1, 2015 (edited) Well, the check for the equipped items just checks the slots till the lower headgear which is number 10. The EQ you want to check for (the costumes) range from 11-14. If you want to make them refinable you will have to extend your blacksmith accordingly. For a list of which slots you can access you can go here: https://github.com/HerculesWS/Hercules/blob/master/doc/script_commands.txt and search for *getequipid(<equipment slot>). To add costumes you need to modify your refiner like this: setarray .@position$[1], "Head","Body","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3", "Costume Head Low", "Costume Head Mid", "Costume Head Top", "Costume Garment";.@menu$ = "";for(.@i = 1; .@i <= 14; ++.@i) { if(getequipisequiped(.@i)) { .@menu$ += .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]"; .@equipped = 1; } .@menu$ += ":";} You can find this refiner at: /npc/merchants/refine.txt If you also want to be able to refine shadow gear, you just have to extend the .@positions$ array by each equip slot and add it to the runs of the for loop which is currently 14 on line 616. But if you are lazy and want it quick just copy and replace the content of the refiner starting at line 614 with: setarray .@position$[1], "Head","Body","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3", "Costume Head Low", "Costume Head Mid", "Costume Head Top", "Costume Head Garment", "Shadow Armor", "Shadow Weapon", "Shadow Shield", "Shadow Shoes", "Shadow Accessory Right", "Shadow Accessory Left";.@menu$ = "";for(.@i = 1; .@i <= getarraysize(.@position$); ++.@i) { if(getequipisequiped(.@i)) { .@menu$ += .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]"; .@equipped = 1; } .@menu$ += ":";} Edited July 1, 2015 by Winterfox Quote Share this post Link to post Share on other sites
0 Neferpitou 2 Posted July 2, 2015 i see thanks for the reply so no default shadow blacksmith right now in herc . and can you make a script like that? if you are not busy if not its ok i try to understand all the code and try to learn it thanks Quote Share this post Link to post Share on other sites
0 Winterfox 83 Posted July 2, 2015 (edited) Well... http://pastebin.com/p9V5sYf4 just replace the content of the file /npc/merchants/refine.txt with that paste. I am not sure if there is a specific Shadow Blacksmith, but i couldn't find one. Edited July 2, 2015 by Winterfox Quote Share this post Link to post Share on other sites
0 Neferpitou 2 Posted July 5, 2015 (edited) wow thanks but can you make separate npc? and only +10 max only thanks Edited July 5, 2015 by Neferpitou Quote Share this post Link to post Share on other sites
0 Winterfox 83 Posted July 6, 2015 @@Neferpitou http://pastebin.com/haau0QWx Quote Share this post Link to post Share on other sites
0 Neferpitou 2 Posted July 8, 2015 @Winerfoxthanks a lot bro but can you make it only refinable items i mean Headtop armor shield weapon dont include accessories and mid headgears like a default refine npc hehehe thanks a lot and can you add also sucess rate option? if can thanks a lot bro i really appreciate your effort and help big thanks to you Quote Share this post Link to post Share on other sites
0 Winterfox 83 Posted July 8, 2015 @@Neferpitou http://upaste.me/5963210361a6c6717 The sucessrate isn't modfiable in the script. You need to edit it here: https://github.com/HerculesWS/Hercules/blob/master/db/re/refine_db.txt This is where you can change the sucessrate of refines. Quote Share this post Link to post Share on other sites
0 Neferpitou 2 Posted July 9, 2015 @@Winterfoxi got this error when i tried to refine costume items Quote Share this post Link to post Share on other sites
0 Winterfox 83 Posted July 9, 2015 @Neferpitou http://upaste.me/85c4210420a39acb8 1 Neferpitou reacted to this Quote Share this post Link to post Share on other sites
0 Neferpitou 2 Posted July 15, 2015 @@Winterfoxthank you... your the best Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted July 15, 2015 @@Winterfoxthank you... your the best Shadow refiner was put into repo recently(2-4 days ago) Quote Share this post Link to post Share on other sites
0 Neferpitou 2 Posted July 16, 2015 @@Dastgiri see but when i try to use it there is no chance of failing i tried it many times but still no chance of degrade or destroying the items Quote Share this post Link to post Share on other sites
0 newbieppl 0 Posted July 23, 2015 (edited) It seems the refinement of shadow equipment is not treated as stated in the new shadow refiner script: Shadow weapon, ATK +1, MATK +1 for each refinement Other shadow gears, HP +10 for each refinement Instead, the refinement increases DEF just as normal armors. So I slightly modified the "src/map/status.c", it might be useful to you. But I only tested it for a few hours, not sure if it has bugs. else if (sd->inventory_data[index]->type == IT_ARMOR) { int r; if ((r = sd->status.inventory[index].refine)) if (i == EQI_SHADOW_WEAPON) { struct weapon_atk *wa; wa = &bstatus->rhw; wa->atk2 += r; wa->matk += r; } else if (i == EQI_SHADOW_ACC_L || i == EQI_SHADOW_ACC_R || i == EQI_SHADOW_ARMOR || i == EQI_SHADOW_SHIELD || i == EQI_SHADOW_SHOES) bstatus->max_hp += 10 * r; else //shadow gears has no ordinary refine bonuses refinedef += status->refine_info[REFINE_TYPE_ARMOR].bonus[r-1]; Edited July 23, 2015 by newbieppl Quote Share this post Link to post Share on other sites
0 tepek 0 Posted June 20, 2016 (edited) Isn't thast just a normal refiner that gives you a second chance if the upgrade fails? Atleast i didn't see anything about shadow gear. hi. i found this link that provide for Shadow Blacksmith npc. but when i load the npc i cannot see the material needed(null as in pic). can you help me whats wrong here? " /> Edited June 20, 2016 by tepek Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted June 20, 2016 Isn't thast just a normal refiner that gives you a second chance if the upgrade fails? Atleast i didn't see anything about shadow gear.hi. i found this link that provide for Shadow Blacksmith npc. but when i load the npc i cannot see the material needed(null as in pic). can you help me whats wrong here? " /> You don't have Oridecon/Elunium Quote Share this post Link to post Share on other sites
0 tepek 0 Posted June 20, 2016 (edited) Hi. i already try with the material(oridecon,elunium, hd oridecon) still showing null. btw if its help i use rathena server. is it hercules script is different with rathena? something i need to change is the script? Edited June 20, 2016 by tepek Quote Share this post Link to post Share on other sites
Anyone have shadow blacksmith can refine shadow equipments? if anyone have can you please share it thanks a lot
Edited by Neferpitoulike this http://www.playragnarok.com/news/eventdetail.aspx?id=342
Share this post
Link to post
Share on other sites