Jump to content
  • 0

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


itsmeyoe

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  54
  • Reputation:   1
  • Joined:  05/19/12
  • Last Seen:  

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

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  742
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

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/

Link to comment
Share on other sites

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.

×
×
  • Create New...