Jump to content

  •  

yeeshin

Member Since 25 Sep 2016
Offline Last Active Oct 06 2016 01:13 AM
-----

Posts I've Made

In Topic: Soul Linker NPC

25 September 2016 - 08:26 AM

 

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.