This script on my item_db2
20507,Spirit_of_Wizard,Spirit of Wizard,2,2,,10,,,,,0x00000200,7,2,,,,,,{ if(Class==Job_Wizard||Class==Job_High_Wizard) { delitem 20507,1; callfunc "Linked"; } },{ },{}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function script Linked {
switch ( basejob ) {
case Job_Wizard: set .@spirit, 453; break;
default:
if ( upper == 1 && baselevel < 70 )
set .@spirit, 494;
}
if ( .@spirit ) {
sc_start4 sc_spirit, 360000, 5, .@spirit,0,0;
specialeffect2 503;
specialeffect2 6;
message strcharinfo(0), ""+strcharinfo(0)+" soul is now linked.";
if (SkillPoint) {
atcommand "@allskill";
}
if (Class == Job_Wizard || Class == Job_High_Wizard) {
if( getstatus( SC_SPIRIT ) ){ bonus bMaxHPRate,10;
}
}
}
end;
}
- script SKILLZ -1,{
OnPCStatCalcEvent:
if (SkillPoint) {
atcommand "@allskill";
}
if (Class == Job_Wizard || Class == Job_High_Wizard) {
if( getstatus( SC_SPIRIT ) ){ bonus bMaxHPRate,10;
}
}
end;
}