Jump to content
  • 0
sietse11

Soul linker NPC script help

Question

 Heres the script

prontera,148,188,6	npc	Shaman Seer	720,{
mes "[Shaman Seer]";
mes "Hello adventurer.";
mes "I can allign your spirit with the stars.";
mes "Simple pay me 20.000 Zeny";
next;
( switch( select "Sure take my money", "No thanks" ) )
{
	case 1:
	{
		switch ( basejob ) {
  			case Job_Alchemist:	set [email protected], 445; break;
  			case Job_Monk:	 set [email protected], 447; break;
  			case Job_Star_Gladiator:  set [email protected], 448; break;
  			case Job_Sage:	 set [email protected], 449; break;
  			case Job_Crusader:	set [email protected], 450; break;
  			case Job_SuperNovice:   set [email protected], 451; break;
  			case Job_Knight:	set [email protected], 452; break;
  			case Job_Wizard:	set [email protected], 453; break;
  			case Job_Priest:	set [email protected], 454; break;
  			case Job_Bard: case Job_Dancer: set [email protected], 455; break;
  			case Job_Rogue:	 set [email protected], 456; break;
  			case Job_Assassin:	set [email protected], 457; break;
  			case Job_Blacksmith:   set [email protected], 458; break;
  			case Job_Hunter:	set [email protected], 460; break;
  			case Job_Soul_Linker:   set [email protected], 461; break;
  			default:
   				if ( upper == 1 && baselevel < 70 )
				set [email protected], 494;
			Zeny, Zeny-20000;
			close;
			}
			if ( [email protected] ) {
  				sc_start4 sc_spirit, [email protected], 5, [email protected],0,0;
  				skilleffect [email protected], 5;
			}
	}
	case 2:
	{
		close;
	}
}

Will this work?

I addapted it from this script.

http://rathena.org/board/topic/69818-soul-link-skill-buff-script/#entry132448

 

Any help will be greatly appreciated.

Edited by sietse11
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

change log ----

npc replaced with script

-------

closed replaced with end

simple replaced with simply

-------

Test in 45 minutes


prontera,148,188,6	script	Shaman Seer	720,{
mes "[Shaman Seer]";
mes "Hello adventurer.";
mes "I can allign your spirit with the stars.";
mes "Simply pay me 100.000 Zeny";
next;
	switch ( select ( "Sure take my money", "No thanks" ) )
	{
		case 1:
		{
			switch ( basejob ) {
  				case Job_Alchemist:	set [email protected], 445; set Zeny, Zeny-100000; break;
  				case Job_Monk:	 set [email protected], 447; set Zeny, Zeny-100000; break;
  				case Job_Star_Gladiator:  set [email protected], 448; set Zeny, Zeny-100000; break;
  				case Job_Sage:	 set [email protected], 449; set Zeny, Zeny-100000; break;
  				case Job_Crusader:	set [email protected], 450; set Zeny, Zeny-100000; break;
  				case Job_SuperNovice:   set [email protected], 451; set Zeny, Zeny-100000; break;
  				case Job_Knight:	set [email protected], 452; set Zeny, Zeny-100000; break;
  				case Job_Wizard:	set [email protected], 453; set Zeny, Zeny-100000; break;
  				case Job_Priest:	set [email protected], 454; set Zeny, Zeny-100000; break;
  				case Job_Bard: case Job_Dancer: set [email protected], 455; set Zeny, Zeny-100000; break;
  				case Job_Rogue:	 set [email protected], 456; set Zeny, Zeny-100000; break;
  				case Job_Assassin:	set [email protected], 457; set Zeny, Zeny-100000; break;
  				case Job_Blacksmith:   set [email protected], 458; set Zeny, Zeny-100000; break;
  				case Job_Hunter:	set [email protected], 460; set Zeny, Zeny-100000; break;
  				case Job_Soul_Linker:   set [email protected], 461; set Zeny, Zeny-100000; break;
				default:
   					if ( upper == 1 && baselevel < 70 )
					set [email protected], 494;
					end;
				}
				if ( [email protected] ) {
  					sc_start4 sc_spirit, [email protected], 5, [email protected],0,0;
  					skilleffect [email protected], 5;
				}
		}

		case 2:
		{
		close;
		}
	}
Edited by sietse11
Link to comment
Share on other sites

I think the initial test failed cause of

prontera,148,188,6	npc	Shaman Seer	720,{

not being

prontera,148,188,6	script	Shaman Seer	720,{
Edited by sietse11
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...

Important Information

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