Put this in the first "{ }" of the item.
callfunc("SL_Scroll");
And this as an extra NPC File.
function script SL_Scroll {
switch ( BaseJob ) {
case Job_Alchemist: set .@spirit, 445; break;
case Job_Monk: set .@spirit, 447; break;
case Job_Star_Gladiator: set .@spirit, 448; break;
case Job_Sage: set .@spirit, 449; break;
case Job_Crusader: set .@spirit, 450; break;
case Job_SuperNovice: set .@spirit, 451; break;
case Job_Knight: set .@spirit, 452; break;
case Job_Wizard: set .@spirit, 453; break;
case Job_Priest: set .@spirit, 454; break;
case Job_Bard: case Job_Dancer: set .@spirit, 455; break;
case Job_Rogue: set .@spirit, 456; break;
case Job_Assassin: set .@spirit, 457; break;
case Job_Blacksmith: set .@spirit, 458; break;
case Job_Hunter: set .@spirit, 460; break;
case Job_Soul_Linker: set .@spirit, 461; break;
default:
if ( upper == 1 && baselevel < 70 ) {
set .@spirit, 494;
} else {
dispbottom "[Soul Scroll]: Sorry, but I can't help you."; getitem <ItemID>,1;
end;
}
}
if ( .@spirit ) {
sc_start4 sc_spirit, .@time, 5, .@spirit,0,0;
skilleffect .@spirit, 5;
}
end;
}
At line 94 exchange the "<ItemID" with the real one.
Note: This function was copied from my own Soul Linker NPC, well it wasn't a function before but well.
Regards,
Chris