Jump to content
  • 0

1 Click Refine +10 Only Weapon


syndrome93

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  09/08/13
  • Last Seen:  

Hello. can i ask for 1 click npc +10 Only for weapon lv1-4..

item required 5 TCG Card .. and the card still there if the weapon has card... i search in forum but no one only refine for weapon lv1-4

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  446
  • Reputation:   229
  • Joined:  03/20/12
  • Last Seen:  

// I only use R hand check since L hand may equip with shield.
// And too lazy to add more checks.
prontera,160,160,0	script	Click Me	123,{
	.@item = 501; // TCG ID here.
	.@amnt = 5; // TCG Amount here.
	if ( countitem(.@item) < .@amount ) {
		mes "I need 5 "+getitemname(.@item)+" to proceed.";
		close;
	}
	.@equipid = getequipid(EQI_HAND_R);
	if ( !.@equipid || !getequipisequiped(EQI_HAND_R) ) {
		mes "Please equip your weapon.";
		close;
	}
	if ( !getequipisenableref(EQI_HAND_R) ) {
		mes "This item is not refinable.";
		close;
	}
	if ( getequipweaponlv(EQI_HAND_R) > 4 ) {
		mes "I only refine Lv 1 - 4 weapons.";
		close;
	}
    if ( getequiprefinerycnt(EQI_HAND_R) >= 10 ) { // Added +10 check
    	mes "This item is already +10";
        close;
    }
	delitem .@item, .@amount;
	while ( getequiprefinerycnt(EQI_HAND_R) < 10 ) {
		successrefitem EQI_HAND_R;
	}
	end;
}

Not tested. But should work.

 

Edit : Added +10 item check

Edited by Mabuhay
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  09/08/13
  • Last Seen:  

@Mabuhay thx alot .. it works ! 

@Mabuhay hello i've a little problem here. when i use  +10 knife and click the npc. the npc still take my tcg card. can u add some message there if i use +10 equip it show a message " The Equipment already +10 ". 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  446
  • Reputation:   229
  • Joined:  03/20/12
  • Last Seen:  

22 minutes ago, syndrome93 said:

@Mabuhay hello i've a little problem here. when i use  +10 knife and click the npc. the npc still take my tcg card. can u add some message there if i use +10 equip it show a message " The Equipment already +10 ". 

Recheck the answer above. I edited it.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  09/08/13
  • Last Seen:  

@Mabuhay its works thank you so much fast respon ^^

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