mrlongshen 22 Posted November 13, 2013 Hi, based on title, may I request an npc like that? one click and buff. Example: Knight spirit and etc. Quote Share this post Link to post Share on other sites
0 kyeme 71 Posted November 13, 2013 Add to your script: sc_start SC_SOULLINK,240000,5; //Soul link for 4 minutes 1 mrlongshen reacted to this Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted November 14, 2013 (edited) 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;} Credit: quesoph Edited November 14, 2013 by sevenzz23 Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted November 14, 2013 Add to your script: sc_start SC_SOULLINK,240000,5; //Soul link for 4 minutes +1 for you. thanks alot Quote Share this post Link to post Share on other sites
Hi, based on title, may I request an npc like that?
one click and buff.
Example:
Knight spirit and etc.
Share this post
Link to post
Share on other sites