Jump to content
  • 0
Sign in to follow this  
Petey Pablo

Soul Linker NPC

Question

3 answers to this question

Recommended Posts

  • 0

Not sure how linking works, but hoping this is good enough: http://pastebin.com/uX9uigAu

 

//===== Hercules Script ======================================
//== Thirds Freebies =========================================
//===== By: ==================================================
//== True Zeal ===============================================
//===== Description: =========================================
//== Links for Zeny
//============================================================
 
prontera,150,150,3    script    Link 4 Zeny    4_F_ELEPHANT,{
 
    // Set name of npc to that of it's NPC name (Link 4 Zeny)
    .@name$ = "[" + strcharinfo(1) + "]";
   
    // Sets price in zeny
    .price = 100000;
    
    // Sets effect sprite
    .effect = 503;
    
    mes .@name$;
    mes "Would you like to be linked? Costs " + .price + "z.;";
    next;
    switch(select("Yes:No")){
        case 1:
        if (Zeny >= .price) {
            Zeny -= .price;
            skilleffect .effect,0;
            sc_start SC_SOULLINK,350000,5;
            close;
        } else {
            mes .@name$;
            mes "You don't have enough zeny!";
            close;
        }
        break;
        
        case 2:
            close;
        break;
    }
}
Edited by True Zeal

Share this post


Link to post
Share on other sites
  • 0

 

Not sure how linking works, but hoping this is good enough: http://pastebin.com/uX9uigAu

 

//===== Hercules Script ======================================
//== Thirds Freebies =========================================
//===== By: ==================================================
//== True Zeal ===============================================
//===== Description: =========================================
//== Links for Zeny
//============================================================
 
prontera,150,150,3    script    Link 4 Zeny    4_F_ELEPHANT,{
 
    // Set name of npc to that of it's NPC name (Link 4 Zeny)
    .@name$ = "[" + strcharinfo(1) + "]";
   
    // Sets price in zeny
    .price = 100000;
    
    // Sets effect sprite
    .effect = 503;
    
    mes .@name$;
    mes "Would you like to be linked? Costs " + .price + "z.;";
    next;
    switch(select("Yes:No")){
        case 1:
        if (Zeny >= .price) {
            Zeny -= .price;
            skilleffect .effect,0;
            sc_start SC_SOULLINK,350000,5;
            close;
        } else {
            mes .@name$;
            mes "You don't have enough zeny!";
            close;
        }
        break;
        
        case 2:
            close;
        break;
    }
}

 

How to add correct soul link in every job? Thank bro!

Share this post


Link to post
Share on other sites
  • 0

 

 

Not sure how linking works, but hoping this is good enough: http://pastebin.com/uX9uigAu

 

//===== Hercules Script ======================================
//== Thirds Freebies =========================================
//===== By: ==================================================
//== True Zeal ===============================================
//===== Description: =========================================
//== Links for Zeny
//============================================================
 
prontera,150,150,3    script    Link 4 Zeny    4_F_ELEPHANT,{
 
    // Set name of npc to that of it's NPC name (Link 4 Zeny)
    .@name$ = "[" + strcharinfo(1) + "]";
   
    // Sets price in zeny
    .price = 100000;
    
    // Sets effect sprite
    .effect = 503;
    
    mes .@name$;
    mes "Would you like to be linked? Costs " + .price + "z.;";
    next;
    switch(select("Yes:No")){
        case 1:
        if (Zeny >= .price) {
            Zeny -= .price;
            skilleffect .effect,0;
            sc_start SC_SOULLINK,350000,5;
            close;
        } else {
            mes .@name$;
            mes "You don't have enough zeny!";
            close;
        }
        break;
        
        case 2:
            close;
        break;
    }
}

 

How to add correct soul link in every job? Thank bro!

 

 

You will have to add the "if (Class == [insert_Soul_Linked_Class_Here])" For every Job and change the Skill ID to match the Job.

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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