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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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