cmsm94 Posted February 22, 2014 Posted February 22, 2014 Does anyone know how to make a simple Reset NPC that required item to use it service like this one i want for Stats Reset jellopy and Skill reset is apple . hmm Quote
Patskie Posted February 22, 2014 Posted February 22, 2014 prontera,150,150,0 script Sample 100,{ if ( select( "Stat Reset:Skill Reset" ) - 1 ) { if ( !countitem( 512 ) ) end; delitem 512, 1; resetskill; } else { if ( !countitem( 909 ) ) end; delitem 909, 1; resetstatus; } end; } Quote
cmsm94 Posted February 24, 2014 Author Posted February 24, 2014 (edited) prontera,150,150,0 script Sample 100,{ if ( select( "Stat Reset:Skill Reset" ) - 1 ) { if ( !countitem( 512 ) ) end; delitem 512, 1; resetskill; } else { if ( !countitem( 909 ) ) end; delitem 909, 1; resetstatus; } end; } Posibble for this script to be used for items, at the moment its zeny http://code.google.com/p/rathena/source/browse/trunk/npc/custom/resetnpc.txt?spec=svn16306&r=16306 Edited February 24, 2014 by cmsm94 Quote
0 6ttctt9 Posted February 21, 2023 Posted February 21, 2023 prontera,137,232,6 script Mesmerizer 125,{ mes "[Mesmerizer]"; mes "Greetings, adventurer."; mes "I'm a member of the Mesmerizer"; mes "Academy sent here to Prontera"; mes "to provide Stats Reset services"; next; switch(select("Stats Reset?:I want a Stats Reset:Nothing")) { case 1: mes "[Mesmerizer]"; mes "Stats Resets allow adventuers"; mes "to redistribute their Stats"; mes "Points if they are unhappy"; mes "but require a ^FF0000Premium Reset Stone^000000."; close; case 2: mes "[Mesmerizer]"; mes "Are you sure that you"; mes "want to proceed with"; mes "my ^FF0000Stats Reset^000000 service?"; next; if (select("Yes:Cancel") == 1) { if (countitem(6320) >= 1) { delitem 6320,1; ResetStatus; mes "[Mesmerizer]"; mes "Thank you for using"; mes "my Stats Redistribution"; mes "services. Oh, and best"; mes "of luck to you on your"; mes "travels, adventurer."; close; } mes "[Mesmerizer]"; mes "I'm sorry, but you need"; mes "a ^FF0000Premium Reset Stone^000000"; mes "for this service."; close; } mes "[Mesmerizer]"; mes "Thank you, and good"; mes "luck on your adventures."; mes "Please travel in safety~"; close; case 3: mes "[Mesmerizer]"; mes "Thank you, and good"; mes "luck on your adventures."; mes "Please travel in safety~"; close; } } Quote
0 6ttctt9 Posted February 21, 2023 Posted February 21, 2023 prontera,137,232,6 script Mesmerizer 125,{ mes "[Mesmerizer]"; mes "Greetings, adventurer."; mes "I'm a member of the Mesmerizer"; mes "Academy sent here to Prontera"; mes "to provide Stats Reset services"; next; switch(select("Stats Reset?:I want a Stats Reset:Nothing")) { case 1: mes "[Mesmerizer]"; mes "Stats Resets allow adventuers"; mes "to redistribute their Stats"; mes "Points if they are unhappy"; mes "but require a ^FF0000Premium Reset Stone^000000."; close; case 2: mes "[Mesmerizer]"; mes "Are you sure that you"; mes "want to proceed with"; mes "my ^FF0000Stats Reset^000000 service?"; next; if (select("Yes:Cancel") == 1) { if (countitem(6320) >= 1) { delitem 6320,1; ResetStatus; mes "[Mesmerizer]"; mes "Thank you for using"; mes "my Stats Redistribution"; mes "services. Oh, and best"; mes "of luck to you on your"; mes "travels, adventurer."; close; } mes "[Mesmerizer]"; mes "I'm sorry, but you need"; mes "a ^FF0000Premium Reset Stone^000000"; mes "for this service."; close; } mes "[Mesmerizer]"; mes "Thank you, and good"; mes "luck on your adventures."; mes "Please travel in safety~"; close; case 3: mes "[Mesmerizer]"; mes "Thank you, and good"; mes "luck on your adventures."; mes "Please travel in safety~"; close; } } this work for me! Quote
Question
cmsm94
Does anyone know how to make a simple Reset NPC that required item to use it service like this one i want for Stats Reset jellopy and Skill reset is apple . hmm
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.