Jump to content
Sign in to follow this  
Takumirai

Stat Reset NPC

Recommended Posts

Reset NPC

- an NPC that reset your stat/skill with the use of item, 

 

Configuration:

 

 

  Quote

set .stoneid,6320; //reset stone id = 6320 ?

set .npcname$,"["+strnpcinfo(0)+"]";

setarray .minrange[0],1 , 41, 71, 91, 111, 126, 141;  // Min Level Required

setarray .maxrange[0],40, 70, 90, 110,125, 140, 150;  // Max Level Required

setarray .stones[0], 1, 2, 3, 4, 5, 6, 7;  // Number of Stones

Reseter NPC.txtFetching info...

Edited by AnnieRuru

Share this post


Link to post
Share on other sites
  On 9/3/2014 at 3:02 AM, dagiccross said:

Anyidea where should I put this .txt to?

trunk/npc/custom

 

then edit/add the script at script_costoms on trunk/npc

Share this post


Link to post
Share on other sites

it doesnt work, 

 

[Error]: npc_parsesrcfile: Unknown syntax in file 'npc/ekstra/Reseter.txt', line
 '1'. Stopping...
 
anyone know how to fix ? 
Edited by spidey

Share this post


Link to post
Share on other sites
  On 1/11/2016 at 5:29 PM, spidey said:

 

 

it doesnt work, 

 

[Error]: npc_parsesrcfile: Unknown syntax in file 'npc/ekstra/Reseter.txt', line
 '1'. Stopping...
 
anyone know how to fix ? 

There were a couple of issues. I fixed some space->tab conversions, and then fixed check/setriding->check/setmount.

 

Should work fine now.

Reseter.txtFetching info...

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.