Jump to content
  • 0

Item with command


Hyoru

Question


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  122
  • Reputation:   11
  • Joined:  01/30/12
  • Last Seen:  

Hi,

I need a item that create a slaveclone just for Soul Linker, but you can use it only one time. I mean, you can have just one clone, you can use again when clone dies. It's possible?

my progress:

{ if(Class == Job_Soul_Linker) { callfun cloneslave; } else percentheal -100,-100;  }

function that i made.


function script cloneslave {
if(clonek < 1) {
atcommand @slaveclone "+StrCharInfo(0)+";
set clonek,1;
end;
}
atcommand @die;
set clonek,-1;
end;
}

Not working

Error:

funcq.jpg

Thanks Advanced.

Hyoru.

Edited by Hyoru
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

http://www.eathena.w...howtopic=177722

I just tested on rAthena script engine, seems to be the same

you can just forget about autobonus and just summon it like npc way does

Edited by AnnieRuru
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

You have an error in your call function syntax. Change it to:

callfunc "cloneslave";

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