Jump to content
  • 0

NPC Link Help please...


pzdcomgwtf

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  10/28/16
  • Last Seen:  

Hallo guys. Help me please!

Help to deliver Link for certain Loot!
All my attempts are hopeless...

Assasin link - 100 Jellopy

Crusider link - 50 jellopy

Sage link - 25 Jellopy

The others  link - 10 Jellopy

____________________________________________________________

Zeny -del...

____________________________________________________________ Script >>>

 

izlude,129,154,4    script    Linkwey    766,{
set .@n$,"^FF3355[Linkwey]^000000";
set .@time, 300000; // the buff last 5 minutes
set @zenycost,250000;
mes .@n$;
mes "Hello ^FF3355"+strcharinfo(0)+"^000000, do";
mes "You want me to Soul Link you?";
next;
mes "^FF3355[Linkwey]^000000";
mes "It will cost you 250,000 zeny?";
mes "Are you sure??";
switch(select("^0055FFYes,please:No,thanks^000000")) {
case 1:
if(Zeny < @zenycost) goto l_nozeny;
set Zeny,Zeny - @zenycost;
switch ( basejob ) {
case Job_Alchemist: set .@spirit, 445; break;
case Job_Monk: set .@spirit, 447; break;
case Job_Star_Gladiator: set .@spirit, 448; break;
case Job_Sage: set .@spirit, 449; break;
case Job_Crusader: set .@spirit, 450; break;
case Job_SuperNovice: set .@spirit, 451; break;
case Job_Knight: set .@spirit, 452; break;
case Job_Wizard: set .@spirit, 453; break;
case Job_Priest: set .@spirit, 454; break;
case Job_Bard: case Job_Dancer: set .@spirit, 455; break;
case Job_Rogue: set .@spirit, 456; break;
case Job_Assassin: set .@spirit, 457; break;
case Job_Blacksmith: set .@spirit, 458; break;
case Job_Hunter: set .@spirit, 460; break;
case Job_Soul_Linker: set .@spirit, 461; break;
default:
if ( upper == 1 && baselevel < 70 )
set .@spirit, 494;
}
if ( .@spirit ) {
sc_start4 sc_spirit, .@time, 5, .@spirit,0,0;
skilleffect .@spirit, 5;
}
case 2:
mes .@n$;
mes "Okay,goodbye!";
close;
}
l_nozeny:
mes .@n$;
mes "You need 250,000 Zeny for a Soul Link.";
close;
}

 

Thanks!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

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

callsub( L_Link, <SC_Status>, <Required_Jellopy> );
prontera,155,181,5	script	sample	4_F_KAFRA1,{

	switch ( basejob ) {
		case Job_Alchemist: callsub( L_Link, 445, 12345 ) break;
		case Job_Monk: callsub( L_Link, 447, 12345 ); break;
		case Job_Star_Gladiator: callsub( L_Link, 448, 12345 ); break;
		case Job_Sage: callsub( L_Link, 449, 12345 ); break;
		case Job_Crusader: callsub( L_Link, 450, 12345 ); break;
		case Job_SuperNovice: callsub( L_Link, 451, 12345 ); break;
		case Job_Knight: callsub( L_Link, 452, 12345 ); break;
		case Job_Wizard: callsub( L_Link, 453, 12345 ); break;
		case Job_Priest: callsub( L_Link, 454, 12345 ); break;
		case Job_Bard: case Job_Dancer: callsub( L_Link, 455, 12345 ); break;
		case Job_Rogue: callsub( L_Link, 456, 12345 ); break;
		case Job_Assassin: callsub( L_Link, 457, 12345 ); break;
		case Job_Blacksmith: callsub( L_Link, 458, 12345 ); break;
		case Job_Hunter: callsub( L_Link, 460, 12345 ); break;
		case Job_Soul_Linker: callsub( L_Link, 461, 12345 ); break;
		default:
			if ( upper == 1 && baselevel < 70 ) {
				callsub( L_Link, 494, 12345 ); break;
			}
			break;
	}
	end;
	
	L_Link:
		.@spirit = getarg( 0,0 );
		.@amount = getarg( 1,0 );
		if ( .@spirit > 0 ) {
			if ( .@amount > 0 ) {
				if ( countitem( 909 ) < .@amount )
					return;
				delitem 909,.@amount;
			}
			sc_start4 sc_spirit, 300000, 5, .@spirit,0,0;
			skilleffect .@spirit, 5;
		}
		return;
}

 

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