Jump to content
  • 0

About Item Script


Haganezuka

Question


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  116
  • Reputation:   4
  • Joined:  08/14/16
  • Last Seen:  

Good day rAthena!

I just want to ask about getitembound3, is this possible to make in item scripts? like this
 

40000,Reward_Box,Reward Box,2,2,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ getitembound3 2503,1,1,0,0,0,0,0,0,Bound_Account,RDMOPT_ATTR_TOLERACE_ALL,5,0; },{},{}

I already tried it and not working and if possible how can i make multiple entries like RDMOPT_DAMAGE_PROPERTY_NOTHING_USER, RDMOPT_ATTR_TOLERACE_ALL into the item script.

Thanks for answering rAthena!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  950
  • Reputation:   180
  • Joined:  04/05/13
  • Last Seen:  

I think there are error in your scripts and try to use callfunc instead.

 

1.) Somewhere in any npc files

function script WakeFieldBox01,{

// +9 Crimson Dagger [2]
    setarray .@OptID[0],RDMOPT_WEAPON_ATTR_TELEKINESIS;
    setarray .@OptVal[0],0;
    setarray .@OptParam[0],0;
    getitembound3 28705,1,1,9,0,0,0,0,0,BOUND_CHAR,.@OptID,.@OptVal,.@OptParam;

return;

}

2.) in item script: callfunc("WakeFieldBox01");

  • Like 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  116
  • Reputation:   4
  • Joined:  08/14/16
  • Last Seen:  

I see thanks. So I must use a callfunc command. 

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