Jump to content
  • 0

+100 refine npc


crystaleye

Question


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   1
  • Joined:  06/29/12
  • Last Seen:  

hi can anyone tell me the script for +100 refine npc with 100% success rate for all equipment

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  331
  • Reputation:   63
  • Joined:  11/29/11
  • Last Seen:  

------ src/map/status.h -----

#ifdef RENEWAL
#    define MAX_REFINE 20
#else
#    define MAX_REFINE 10
#endif

If Renewal,

Change "20" to "100".

If Pre-Renewal,

Change "10" to "100".

Recompile

There are various methods in script.

Use this in your script

1)

for ( .@i = 1; .@i <= 100; .@i = .@i +1){
successrefitem <equipment slot>;
}

OR

2)

atcommand "@refine <equipment Slot> 100";

Edited by Dastgir Pojee
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   1
  • Joined:  06/29/12
  • Last Seen:  

------ src/map/status.h -----

#ifdef RENEWAL
#	define MAX_REFINE 20
#else
#	define MAX_REFINE 10
#endif

If Renewal,

Change "20" to "100".

If Pre-Renewal,

Change "10" to "100".

Recompile

There are various methods in script.

Use this in your script

1)

for ( .@i = 1; .@i <= 100; .@i = .@i +1){
successrefitem <equipment slot>;
}

OR

2)

atcommand "@refine <equipment Slot> 100";

where do i edit success refine script and atcommand script

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:  

http://www.eathena.w...dpost&p=1043964

really brings back memories ...

prontera,151,180,6    script    +100 Refiner    100,{
   for ( .@i = 1; .@i <= 10; .@i++ ) {
       if ( getequipisequiped(.@i) ) {
           .@id = getequipid(.@i);
           .@ref = getequiprefinerycnt(.@i);
           .@card1 = getequipcardid( .@i, 0 );
           .@card2 = getequipcardid( .@i, 1 );
           .@card3 = getequipcardid( .@i, 2 );
           .@card4 = getequipcardid( .@i, 3 );
           delitem2 .@id, 1, 1, .@ref, 0, .@card1, .@card2, .@card3, .@card4;
           getitem2 .@id, 1, 1, 101, 0, .@card1, .@card2, .@card3, .@card4;
           equip .@id;
       }
   }
   end;
}

Edited by AnnieRuru
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   1
  • Joined:  06/29/12
  • Last Seen:  

http://www.eathena.w...dpost&p=1043964

really brings back memories ...

prontera,151,180,6	script	+100 Refiner	100,{
for ( .@i = 1; .@i <= 10; .@i++ ) {
	if ( getequipisequiped(.@i) ) {
		.@id = getequipid(.@i);
		.@ref = getequiprefinerycnt(.@i);
		.@card1 = getequipcardid( .@i, 0 );
		.@card2 = getequipcardid( .@i, 1 );
		.@card3 = getequipcardid( .@i, 2 );
		.@card4 = getequipcardid( .@i, 3 );
		delitem2 .@id, 1, 1, .@ref, 0, .@card1, .@card2, .@card3, .@card4;
		getitem2 .@id, 1, 1, 101, 0, .@card1, .@card2, .@card3, .@card4;
		equip .@id;
	}
}
end;
}

what about derefiner

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