Jump to content
  • 0

Custom Skill NPC


Bringer

Question


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

Hello rathena i have Custom skill but i want requesting for Quest Skill NPC BUT Need item The Skill is upgradeable to Lvl 4

 

Requirements: 1x 6193.png

 

21218#Level 1#
21219#Level 2#
21220#Level 3#
21221#Level 1#
 
You Need to Leve The Books inorder
 
anyone?
Edited by Bringer
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

try this

https://pastebin.com/5HFhnd2g

Edited by Emistry
update.
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:  

Hello Emistry

the Problem is when i reset my skill the skill is gone

i adopt the gympass script to make a new npc but only 1 need book T_T

 

may i request to make like this BUT upgradeable to Lvl 4 and need the 4book 's inorder & ONLY HIGH PRIEST CAN QUEST THIS SKILL

prontera,168,204,5	script	 Skill Master	630,{
	mes "[ Skill Master ]";
	mes "I'd say that it'd be safe";
	mes "for you to seriously train";
	mes "with me and increase your";
	mes "Open Celestial Gate ^FF00004 times^000000.";
	mes "So... Are you ready to sweat?";
	next;
	switch(select("Yes:No:")) {
	case 1:
		if (opencelestialgate < 4) {
			set .@add_carry,opencelestialgate + 1;
			set .@remain_carry,4 - .@add_carry;
			if (countitem(21218) > 0) {
				mes "[ Skill Master ]";
				mes "Oh, awesome, I see you";
				mes "brought your Open Celestial Gate.";
				mes "Alright, just do what I do,";
				mes "and try to feel the burn.";
				mes "Ready? Let's do this.";
				next;
				specialeffect2 EF_EARTHSPIKE;
				next;
				specialeffect2 EF_DEVIL;
				next;
				specialeffect2 EF_COIN;
				next;
				specialeffect2 EF_SIGHTRASHER;
				next;
				mes "[ Skill Master ]";
				mes "There, you should be able";
				mes "to use your Open Celestial Gate";
				mes "^FF00000" + .@remain_carry + "^000000 more times if we continue";
				delitem 21218,1; //Max_Weight_Up_Scroll
				set opencelestialgate,.@add_carry;
				skill "NPC_AUTOATTACK",.@add_carry,SKILL_PERM_GRANT;
				close;
			}
			else {
				mes "[ Skill Master ]";
				mes "Dude, what'd I tell you?";
				mes "You gotta bring me your";
				mes "^FF0000Open Celestial Gate^000000 if you wanna";
				mes "Want to Upgrade it";
				close;
			}
		}
	case 2:
		mes "[ Skill Master ]";
		mes "Aw, that's too bad.";
		mes "Well, come back if you";
		mes "change your mind. Tell";
		mes "your friends about me:";
		close;
	case 3:
		if (opencelestialgate > 0) {
			mes "[ Skill Master ]";
			mes "What happened?";
			mes "You let your item";
			mes "for you, there's such a thing";
			mes "as memory. It's won't take";
			mes "as long to build 'em back up...";
			next;
			specialeffect2 EF_EARTHSPIKE;
			next;
			specialeffect2 EF_DEVIL;
			next;
			specialeffect2 EF_COIN;
			next;
			specialeffect2 EF_SIGHTRASHER;
			next;
			mes "[ Skill Master ]";
			mes "How about that?";
			mes "Your item carrying";
			mes "just like that! Try not to";
			mes "wimp out again, okay?";
			skill "NPC_AUTOATTACK",opencelestialgate,SKILL_PERM_GRANT;
			close;
		}
		else {
			mes "[ Skill Master ]";
			mes "Uhh...";
			mes "We didn't work out";
			mes "together before.";
			mes "I'm sure about that.";
			close;
		}
	}

}

Edited by Bringer
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...