Jump to content
  • 0

fuction for link any idea why it doesn't add 10% HP Wizard


Question

Posted

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;
}

1 answer to this question

Recommended Posts

  • 0
Posted
10 hours ago, itsmeyoe said:

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;
}

why not using this Script-based
https://rathena.org/board/topic/115221-release-soul-link-modification-script-based/

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...