Jump to content
  • 0

auto cast soul link when equiped


Kido

Question


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

Hello, im having problems with a custom item

i want to make it when equiped by a soul linker, it will auto cast its soul linker spirit on the player at lvl 5

this is my script

27159,Sea_Valkyrie_Helm,Sea_Valkyrie_Helm,5,,,0,,0,,1,0xFFFFFFFF,7,2,256,,1,1,1559,{ if(Class==Job_Soul_Linker) { bonus bMatkRate,15; } },{ sc_start4 SL_SOULLINKER,60000,10,0,0,1; },{ sc_end SL_SOULLINKER; }

Also i need a similar to make auto-cast a soul link to the player's job when equiped, help please i just can not figure it out ):

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   104
  • Joined:  11/19/11
  • Last Seen:  

http://www.eathena.ws/board/index.php?s=&showtopic=239234&view=findpost&p=1304857

 

use Annie's script

 

 

function    script    soullink    {
    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;
    }
    if ( .@spirit ) {
        sc_start4 sc_spirit, 360000, 5, .@spirit,0,0;
        skilleffect .@spirit, 5;
    }

    end;
}

 

 

27159,............{}{callfunc "soullink";}{}
Edited by QQfoolsorellina
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

is not working ):

 

27159,Sea_Valkyrie_Helm,Sea_Valkyrie_Helm,5,,,0,,0,,1,0xFFFFFFFF,7,2,256,,1,1,1559,{ if(Class==Job_Soul_Linker) { bonus bMatkRate,15; } },{callfunc "soullink";},{ }

 

i also tryied

 

27159,Sea_Valkyrie_Helm,Sea_Valkyrie_Helm,5,,,0,,0,,1,0xFFFFFFFF,7,2,256,,1,1,1559,{ if(Class==Job_Soul_Linker) { bonus bMatkRate,15; } },{ callfunc "soullink"; },{ }

 

edit:

 

o it works now, but it gives link to every char, how can i make it only for soul linker?

Edited by Patskie
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  


27159,...,{ if(Class==Job_Soul_Linker) { bonus bMatkRate,15; } },{ if(Class==Job_Soul_Linker) { sc_start4 sc_spirit, 360000, 5, 461,0,0; skilleffect 461, 5; } },{ }

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

27159,...,{ if(Class==Job_Soul_Linker) { bonus bMatkRate,15; } },{ if(Class==Job_Soul_Linker) { sc_start4 sc_spirit, 360000, 5, 461,0,0; skilleffect 461, 5; } },{ }

it says

fc9.png

and is not working ):

 

that's the code

27159,Sea_Valkyrie_Helm,Sea_Valkyrie_Helm,5,,,0,,0,,1,0xFFFFFFFF,7,2,256,,1,1,1559,{ if(Class==Job_Soul_Linker) { bonus bMatkRate,15; } },{ if(Class==Job_Soul_Linker) { sc_start4 sc_spirit, 360000, 5, 461,0,0; skilleffect 461, 5; } },{ }

):

Edited by Kido
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

This message appear because of

http://rathena.org/board/topic/86816-renewal-item-db-class-update-commit-5f12351/

otherwise I tested it, a soul link can wear the headgear

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

Thanks, i will change that then, thank you again! will edit if error/worked good!

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...