Jump to content

Soul Link Scrolls with Client Files


ngek202

Recommended Posts


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  58
  • Reputation:   0
  • Joined:  11/27/12
  • Last Seen:  

umm how can you make this only for other players to use it on you, like you can use it in yourself.. you drop it or trade it and other players trow it to you.. Thanks hope you can help me

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  95
  • Reputation:   14
  • Joined:  11/13/11
  • Last Seen:  

Awesome <3

Thanks for the spirit! lol >.<

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  137
  • Reputation:   1
  • Joined:  02/02/13
  • Last Seen:  

Why don't you use just one item for every class?^^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  127
  • Reputation:   36
  • Joined:  01/21/13
  • Last Seen:  

Why don't you use just one item for every class?^^

 

Valid point; why not use a conditional statement to check what class you are, then run the corresponding Spirit skill? You could use BaseJob as the check for a more...universal (?) Spirit Scroll script.

 

On a different note, this a pretty sweet release. Thanks!

Edited by Via
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  137
  • Reputation:   1
  • Joined:  02/02/13
  • Last Seen:  

Valid point; why not use a conditional statement to check what class you

are, then run the corresponding Spirit skill? You could use BaseJob as the check for a more...universal (?) Spirit Scroll script.

 

This is what i meant^^

you could check which class you have and give the certain spirit skill

so you don't have to create a single scroll for every class

 

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  625
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

Put this in the first "{ }" of the item.

 

callfunc("SL_Scroll");

And this as an extra NPC File.

 

 
function    script    SL_Scroll    {
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;
        
    } else { 
        dispbottom "[Soul Scroll]: Sorry, but I can't help you."; getitem <ItemID>,1;
        end;
    }
}
if ( .@spirit ) {
    sc_start4 sc_spirit, .@time, 5, .@spirit,0,0;
    skilleffect .@spirit, 5;
}
end;
}

At line 94 exchange the "<ItemID" with the real one.

 

Note: This function was copied from my own Soul Linker NPC, well it wasn't a function before but well.

 

Regards,

Chris

Edited by llchrisll
Link to comment
Share on other sites

  • 9 months later...
  • 3 years later...

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   4
  • Joined:  02/19/17
  • Last Seen:  

why i can't click the item if i double click it nothings happen

Link to comment
Share on other sites

  • 6 years later...

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.15
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

On 4/14/2013 at 5:44 AM, llchrisll said:

Put this in the first "{ }" of the item.

 

callfunc("SL_Scroll");

And this as an extra NPC File.

 

 
function    script    SL_Scroll    {
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;
        
    } else { 
        dispbottom "[Soul Scroll]: Sorry, but I can't help you."; getitem <ItemID>,1;
        end;
    }
}
if ( .@spirit ) {
    sc_start4 sc_spirit, .@time, 5, .@spirit,0,0;
    skilleffect .@spirit, 5;
}
end;
}

At line 94 exchange the "<ItemID" with the real one.

 

Note: This function was copied from my own Soul Linker NPC, well it wasn't a function before but well.

 

Regards,

Chris

item requirements didnt remove in the inventory also what if zeny payment how to add zeny requirements only instead of item 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  113
  • Reputation:   47
  • Joined:  06/02/12
  • Last Seen:  

3 hours ago, GM Winter said:

item requirements didnt remove in the inventory also what if zeny payment how to add zeny requirements only instead of item 

Hi. If you don't want to use the items, change the function to a regular NPC. Example:

function    script    SL_Scroll    {

To:

prontera,164,200,4	script	Soul Scroll	112,{

 

For the zeny change:

	mes "[Soul Scroll]";
	mes "You need 3.000z to continue.";
	next;
	
	if (Zeny < 3000) {
		mes "[Soul Scroll]";
		mes "You don't have enough zeny.";
		close;
	}

	Zeny -= 3000;

 

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.15
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

6 hours ago, Racaae said:

Hi. If you don't want to use the items, change the function to a regular NPC. Example:

function    script    SL_Scroll    {

To:

prontera,164,200,4	script	Soul Scroll	112,{

 

For the zeny change:

	mes "[Soul Scroll]";
	mes "You need 3.000z to continue.";
	next;
	
	if (Zeny < 3000) {
		mes "[Soul Scroll]";
		mes "You don't have enough zeny.";
		close;
	}

	Zeny -= 3000;

 

thank you sir! 

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
Reply to this topic...

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