viewing paste topic/4871- item_soullink | Athena

Posted on the | Last edited on
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
/*
update item_db_re set equip_script = 'doevent "item_soullink::OnSoulLink";', unequip_script = 'sc_end SC_SOULLINK;' where id = 1201;
*/
-   script  item_soullink   -1,{
OnSoulLink:
    if ( .@spirit = .spirit[BaseJob] );
    else if ( Upper & 1 && BaseLevel < 70 )
        .@spirit = 494;
    else
        end;
    sc_start4 SC_SOULLINK, -1, 1, .@spirit,0,0;
    skilleffect .@spirit, 1;
    end;
OnInit:
    .spirit[Job_Alchemist] = 445;
    .spirit[Job_Monk] = 447;
    .spirit[Job_Star_Gladiator] = 448;
    .spirit[Job_Sage] = 449;
    .spirit[Job_Crusader] = 450;
    .spirit[Job_SuperNovice] = 451;
    .spirit[Job_Knight] = 452;
    .spirit[Job_Wizard] = 453;
    .spirit[Job_Priest] = 454;
    .spirit[Job_Bard] = .spirit[Job_Dancer] = 455;
    .spirit[Job_Rogue] = 456;
    .spirit[Job_Assassin] = 457;
    .spirit[Job_Blacksmith] = 458;
    .spirit[Job_Hunter] = 460;
    .spirit[Job_Soul_Linker] = 461;
    end;
}
Viewed 1135 times, submitted by AnnieRuru.