Jump to content
  • 0

Enchant Refine NPC


Limestone

Question


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

can i request a enchant refine npc, here are the details.

first you need three same enchant stones ex: [3 +1Str Enchant stones]

you talk to npc then you choose the ff:

Str, Agi, Int, Dex, Vit, Luk

if i choose Str, i will choose again what level of refine (range 1-10) if i choose 1, i need 3 level 1 str enchant stones if i dont have 3 stones, the npc dialogue will stop or close or saying insuficient stones.

if i choose 3 i need 3 level 3 str enchant stones. and so on

then here is the refine rate of the stones

level 1: 100%

level 2: 80%

level 3: 70%

level 4: 60%

level 5: 50%

level 6: 35%

level 7: 25%

level 8: 15%

level 9: 10%

level 10: 8%

then if the refine fails, 20% chance that the stones will disappear else will stay on my inventory.

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

@Miles

wahahaha, I thought since I came back, nobody would want to talk about payment openly

according to script request rules, user are not allow to offer paid service if the topic starter did not say anything about offering payment

have to discuss in PMs

prontera,156,179,5	script	Armor Echant	100,{
mes "[^0000FFArmor Enchant^000000]";
mes "Do you want to Enchant your ^0000FFArmor^000000?";
next;
if ( select ( "Yes", "No" ) == 2 ) close;
mes "[^0000FFArmor Enchant^000000]";
if ( !getequipisequiped( EQI_ARMOR ) ) {
	mes "You dont have any ^0000FFArmor^000000 that is being equipped.";
	close;
}
.@id = getequipid( EQI_ARMOR );
.@ref = getequiprefinerycnt( EQI_ARMOR );
.@card1 = getequipcardid( EQI_ARMOR, 0 );
.@card2 = getequipcardid( EQI_ARMOR, 1 );
.@card3 = getequipcardid( EQI_ARMOR, 2 );
.@card4 = getequipcardid( EQI_ARMOR, 3 );
if ( .@card1 == 255 || .@card1 == 254 ) {
	mes "I can't enchant a signed equipment.";
	close;
}
if ( .@card4 ) {
	mes "Sorry, this ^0000FFArmor^000000 has already been enchanted.";
	close;
}
mes "Select the type of stone that you'll use";
next;
.@type = select( "Strength", "Inteligence", "Dexterity", "Agility", "Vitality", "Luck" ) -1;
.@num = select( "1:2:3:4:5:6:7:8:9:10" ) -1;
.@stone = 4700 + .@type *10 + .@num;
mes "[^0000FFArmor Enchant^000000]";
mes "Are you sure you want to enchant your "+ getitemname(.@id) +" with "+ getitemname(.@stone);
mes "The chance of success is "+ .rate[.@num] +"%";
next;
if ( select( "Yes", "No" ) == 2 ) close;
mes "[^0000FFArmor Enchant^000000]";
if ( countitem( .@stone ) < 3 ) {
	mes "Sorry, you need 3 "+ getitemname( .@stone ) +" to enchant this armor.";
	close;
}
delitem .@stone, 3;
if ( rand(100) >= .rate[.@num] ) {
	mes "Sorry, the enchantment failed";
	close;
}
delitem2 .@id, 1,1, .@ref, 0, .@card1, .@card2, .@card3, .@card4;
getitem2 .@id, 1,1, .@red, 0, .@card1, .@card2, .@card3, .@stone;
equip .@id;
mes "Armor Enchancement successful !";
close;
OnInit:
setarray .rate, 100, 80, 70, 60, 50, 35, 25, 15, 10, 8;
end;
}

its a rather simple script

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   13
  • Joined:  11/14/11
  • Last Seen:  

That's not a refiner, it's called Socket Enchant.

What you ask it's actually not a modification, but instead you need something more than the default Socket Enchant by default (if i'm not mistaken, there's a socket enchant in every rAthena version, though i don't really know).

Here it's the thing, the server takes those enchant stones as Cards, so you can equip the enchants onto any weapon/armor without need of a NPC, so pretty much it's useless to have to collect the stones.

If you want, i make you the whole script with the client modification, but you will have to pay for it, only if you are really interested.

Contact me.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

yes. i know socket enchant but i wan't a refiner of those enchantment stones :3 for uniqueness? haha

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

Thanks for replying @AnnieRuru, how about if the refine fails, it will revert to its previous refine ex: from +5 if fails it will down to +4 thank you!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

Thanks for replying @AnnieRuru, how about if the refine fails, it will revert to its previous refine ex: from +5 if fails it will down to +4 thank you!

I don't really understand this

you said you want an enchantment script which immediately give out +10 str if the user has 3x +10 str stones

and you mean if the user collected 3x +10 stones, if failed, they still getting +9 stats ???

sounds ridiculous

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

Thanks for replying @AnnieRuru, how about if the refine fails, it will revert to its previous refine ex: from +5 if fails it will down to +4 thank you!

I don't really understand this

you said you want an enchantment script which immediately give out +10 str if the user has 3x +10 str stones

and you mean if the user collected 3x +10 stones, if failed, they still getting +9 stats ???

sounds ridiculous

hmm.. yes. but a chance only, a chance to revert, remain or vanish the enchant stone or vanish the item.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

bump!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

I still don't understand your request ...

as I see my script,

if the user has +6 Jacket[1]

if he choose to use 3 +6str stone on this item,

it has 35% chance of success on crafting a +6 Jacket[1] with a +6 str stone on 4th card slot

if the refine failed, it consumes 3 +6str stones, and get back the +6 Jacket[1]

try to explain like this to me so that I can understand what your request is about

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

yes.. you're right, but i wan't to suggest to add on your script. that if the player enchants its armor, if the refine fails, there are chance to destroy the armor, destroy the stone, revert the stone's enchant level. and there are chance that the stone will remain.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   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.

×
×
  • Create New...