Soul Linker NPC

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

Code:
//===== 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;
    }
}
 
Last edited by a moderator:
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!

 
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.

 
Back
Top