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:

 

 

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

Edited by AnnieRuru

Share this post


Link to post
Share on other sites

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

 

 

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

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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