simplynice - Jul 17, 2013 5:03
					
				
				
					[quote]
prontera,161,189,6	script	Premium Buffer	72,{
	
	if(getgroupid() == 0){
		message strcharinfo(0),"You're not allowed to use my service..";
		close;
	}
	
	
	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_SOULLINK, 900000, 5, .@spirit,0,0;
			skilleffect .@spirit, 5;
		}
	
	sc_start SC_SECRAMENT,900000,5;
	sc_start SC_IMPOSITIO,900000,5;
	sc_start SC_INC_AGI,900000,10;
	sc_start SC_BLESSING,900000,10;
	
	end;
}[/quote]
This script works perfectly but using this npc while sitting will get you stand up but still your status is still sitting and you can't move. Insert, /sit, /stand does not work. To bring your status back you'll need to use @refresh and that's annoying for me.
				
							 
									
				
					
						simplynice - Jul 17, 2013 5:08
					
				
				
					But i can use this code to get rid of that thing:
[code=auto:0]
	if(issit(""+strcharinfo(0)+"") == 1){
		stand(""+strcharinfo(0)+"");
	}
 [/code]
				
							 
									
				
					
						bgamez23 - Jul 17, 2013 8:03
					
				
				
					it is happen when you receive the soul link buffs from the npc. it make you stand.
				
								
					
						This post has been edited by
						bgamez23
						on Jul 17, 2013 8:05					
									 
							 
									
				
					
						simplynice - Jul 17, 2013 8:19
					
				
				
					Yes.
				
							 
									
				
					
						AnnieRuru - Mar 19, 2014 21:34
					
				
				
					[code=auto:0]-	script	item_soullink	-1,{
OnSoulLink:
	if ( .@spirit = .spirit[BaseJob] );
	else if ( Upper & 1 && BaseLevel < 70 )
		.@spirit = 494;
	else
		end;
	stand();
	sc_start4 SC_SOULLINK, -1, 1, .@spirit,0,0;
	skilleffect .@spirit, 1;
	end;
OnInit:
	bindatcmd "link", strnpcinfo(0)+"::OnSoulLink";
	.spirit[Job_Alchemist] = 445;
	.spirit[Job_Monk] = 447;
	.spirit[Job_Star_Gladiator] = 448;
	.spirit[Job_Sage] = 449;
	.spirit[Job_Crusader] = 450;
	.spirit[Job_SuperNovice] = 451;
	.spirit[Job_Knight] = 452;
	.spirit[Job_Wizard] = 453;
	.spirit[Job_Priest] = 454;
	.spirit[Job_Bard] = .spirit[Job_Dancer] = 455;
	.spirit[Job_Rogue] = 456;
	.spirit[Job_Assassin] = 457;
	.spirit[Job_Blacksmith] = 458;
	.spirit[Job_Hunter] = 460;
	.spirit[Job_Soul_Linker] = 461;
	end;
}[/code]use the *stand script command before sc_start next time
				
							 
									
				
					
						bgamez23 - Mar 28, 2014 14:23
					
				
				
					i think the issue on this post is the player should not stand right after he receive the buffs of soul link. @[color=rgb(34,89,133)][font=helvetica, arial, sans-serif][size=3][right][url="http://herc.ws/board/user/4102-annieruru/"]AnnieRuru[/url] the one that you made is you make the character stand right after you receive a soul link buffs.[/right][/size][/font][/color]
				
							 
									
				
					
						AnnieRuru - Mar 29, 2014 17:40
					
				
				
					yeah but I also never release the script :P that's why
I only made them inside script request