Jump to content
  • 0

Premium Reset Stone


skymia

Question


  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   4
  • Joined:  02/19/17
  • Last Seen:  

How to make this item to be usable?

so that i will not use any npc to reset my skills and stats...TIA

6320,Premium_Reset_Stone,Premium Reset Stone,3,20,,0,,,,,,,,,,,,,{},{},{}

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  110
  • Reputation:   56
  • Joined:  05/29/18
  • Last Seen:  

try

6320,Premium_Reset_Stone,Premium Reset Stone,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ atcommand "@streset"; atcommand "@resetskill"; }

Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  740
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

1 hour ago, skymia said:

How to make this item to be usable?

so that i will not use any npc to reset my skills and stats...TIA


6320,Premium_Reset_Stone,Premium Reset Stone,3,20,,0,,,,,,,,,,,,,{},{},{}

 

// Neuralizer
//============================================================ 
// - Reset players skills. Weight must be 0, options must be off.
// - No arguments.
function	script	F_CashReset	{
	if (Class != Job_Novice && Weight == 0 && !checkriding() && !checkfalcon() && !checkcart() && !ismounting() && !checkdragon()) {
		resetskill;
		sc_end SC_ALL;
		if (countitem(12213)) delitem 12213,1;
	}
	return;
}
	Neuralizer    Item ID# 12213 (Neuralizer)	look up sprite name
Type	Delayed-Consumable	Class	n/a	Buy	2z	Sell	1z	Weight	0
Description	Pressing the button on this stick will flash blinding light that seems to cause
memory loss. Resets the Skill Tree and gives the corresponding number of Skill Points.
This item can only be used in town, and the character must carry 0 weight, and can not be
equipped with a Pushcart, Falcon, or PecoPeco. Can not be used by Novice Class.
Item Script	
{ callfunc "F_CashReset"; },{},{}

make a new function for resetstats

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   4
  • Joined:  02/19/17
  • Last Seen:  

10 hours ago, Bringer said:

// Neuralizer
//============================================================ 
// - Reset players skills. Weight must be 0, options must be off.
// - No arguments.
function	script	F_CashReset	{
	if (Class != Job_Novice && Weight == 0 && !checkriding() && !checkfalcon() && !checkcart() && !ismounting() && !checkdragon()) {
		resetskill;
		sc_end SC_ALL;
		if (countitem(12213)) delitem 12213,1;
	}
	return;
}

	Neuralizer    Item ID# 12213 (Neuralizer)	look up sprite name
Type	Delayed-Consumable	Class	n/a	Buy	2z	Sell	1z	Weight	0
Description	Pressing the button on this stick will flash blinding light that seems to cause
memory loss. Resets the Skill Tree and gives the corresponding number of Skill Points.
This item can only be used in town, and the character must carry 0 weight, and can not be
equipped with a Pushcart, Falcon, or PecoPeco. Can not be used by Novice Class.
Item Script	
{ callfunc "F_CashReset"; },{},{}

make a new function for resetstats

i mean is if i double click the item my skill or stat will reset

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  740
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

Type: Purpose of the item.
0 = Usable : healing
2 = Usable : other
3 = Misc
4 = Armor
5 = Weapon
6 = Card
7 = Pet Egg
8 = Pet Equipment
10 = Arrow/Ammunition
11 = Usable with delayed consumption (intended for 'itemskill').
  Items using the 'itemskill' script command are consumed after selecting a target.
  Any other command will NOT consume the item.
12 = Shadow Equipment
18 = Another delayed consume that requires user confirmation before using item.

for more info https://github.com/rathena/rathena/wiki/Custom-Items

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   4
  • Joined:  02/19/17
  • Last Seen:  

3 hours ago, Katakuri said:

try

6320,Premium_Reset_Stone,Premium Reset Stone,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ atcommand "@streset"; atcommand "@resetskill"; }

ok sir i will check it later ?

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