Jump to content
  • 0
karazu

Soul Linker NPC Bug

Question

prontera,148,190,5	script	Soul Linker	759,{set .@n$,"^0000FF[ Soul Linker NPC ]^000000";set .@time, 300000; // the buff last 5 minutesset @zenycost,1000000;mes .@n$;mes "Hello "+strcharinfo(0)+",do";mes "You want me to Soul Link you?";switch(select("Yes:No")) {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 EF_SOULLINK, .@time, 5, .@spirit,0,0;		skilleffect .@spirit, 5;	}case 2:mes .@n$;mes "Okay,goodbye!";close;}l_nozeny:mes .@n$;mes "You need 100000 Zeny for a Soul Link.";close;} 

it will Link you but the benefits will not initiate. like Sonic blow increase damage,1 hand Quicken etc.. 

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

 

 

prontera,148,190,5    script    Sample    759,{mes "^0000FF[ "+strnpcinfo(1)+" ]^000000",    "Hello "+strcharinfo(0)+",do",    "You want me to Soul Link you?";next;switch(select("Yes:No")) {    case 1:        if(countitem(.itemid[0]) < .itemid[1] || basejob < 7) {            mes "^0000FF[ "+strnpcinfo(1)+" ]^000000"," ",                "First jobs aren't allowed to use my service. or",                "You need "+.itemid[1]+"x ^0000ff"+ getitemname(.itemid[0]) +"^000000 for a Soul Link.";            close;        }        delitem .itemid[0], .itemid[1]; // delete required item.        sc_start SC_SOULLINK, .time, 5; // start soul link        skilleffect 461, 5;    // Start Soul Link Effect.        message strcharinfo(0),jobname(Basejob)=="Bard"||jobname(Basejob)=="Dancer"?"Bard and Dancer Spirit !!":jobname(basejob)+" Spirit !!";        close;            case 2:        mes "^0000FF[ "+strnpcinfo(1)+" ]^000000",            "Okay,goodbye!";        close;}OnInit:    set .time, 300000; // the buff last 5 minutes    setarray .itemid[0],501,1; // replace with TCG Item id. Format Item id,Item quantity    end;}

Share this post


Link to post
Share on other sites
  • 0

 

 

 

prontera,148,190,5    script    Sample    759,{mes "^0000FF[ "+strnpcinfo(1)+" ]^000000",    "Hello "+strcharinfo(0)+",do",    "You want me to Soul Link you?";next;switch(select("Yes:No")) {    case 1:        if(countitem(.itemid[0]) < .itemid[1] || basejob < 7) {            mes "^0000FF[ "+strnpcinfo(1)+" ]^000000"," ",                "First jobs aren't allowed to use my service. or",                "You need "+.itemid[1]+"x ^0000ff"+ getitemname(.itemid[0]) +"^000000 for a Soul Link.";            close;        }        delitem .itemid[0], .itemid[1]; // delete required item.        sc_start SC_SOULLINK, .time, 5; // start soul link        skilleffect 461, 5;    // Start Soul Link Effect.        message strcharinfo(0),jobname(Basejob)=="Bard"||jobname(Basejob)=="Dancer"?"Bard and Dancer Spirit !!":jobname(basejob)+" Spirit !!";        close;            case 2:        mes "^0000FF[ "+strnpcinfo(1)+" ]^000000",            "Okay,goodbye!";        close;}OnInit:    set .time, 300000; // the buff last 5 minutes    setarray .itemid[0],501,1; // replace with TCG Item id. Format Item id,Item quantity    end;}

Thank you for this.. I will test this one!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

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