Jump to content
  • 0

Change item description dynamically


jeyner

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   0
  • Joined:  01/28/12
  • Last Seen:  

Hello.

I want to know if is possible to change an item description on server-side. For example, that some script will change the ATK of certain weapon.

Thanks.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

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

No, I don't think the basic item description displayed by the client can be changed server side.

Link to comment
Share on other sites

  • 0

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

8 hours ago, jeyner said:

Hello.

I want to know if is possible to change an item description on server-side. For example, that some script will change the ATK of certain weapon.

Thanks.

Random option is entirely server side

prontera,155,185,5	script	skjhsdfkj	1_F_MARIA,{
	setarray .@OptID[0],RDMOPT_VAR_ATTPOWER;
	setarray .@OptVal[0],10;
	setarray .@OptParam[0],0;
	getitem3 1501, 1,1,0,0, 0,0,0,0, .@OptID,.@OptVal,.@OptParam;
	setarray .@OptVal[0],100;
	getitem3 1501, 1,1,0,0, 0,0,0,0, .@OptID,.@OptVal,.@OptParam;
	setarray .@OptVal[0],1000;
	getitem3 1501, 1,1,0,0, 0,0,0,0, .@OptID,.@OptVal,.@OptParam;
	end;
}

screen2019rAthena012.jpg

the ATK+100 is manipulable

Edited by AnnieRuru
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   0
  • Joined:  01/28/12
  • Last Seen:  

@AnnieRuru Thanks. I'm going to test it.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

This function is very easy and I have used it for sometime, however, I need cannot seem to get it to detect when an item already has an extra enchantment such as a crimson weapon. Is that even possible with this command, but right now I have my doubts...

Peopleperson49

Never mind, figured it out and it seems so simple now...

Peopleperson49

Edited by Peopleperson49
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   1
  • Joined:  02/23/14
  • Last Seen:  

On 2/22/2019 at 1:10 AM, AnnieRuru said:

Random option is entirely server side


prontera,155,185,5	script	skjhsdfkj	1_F_MARIA,{
	setarray .@OptID[0],RDMOPT_VAR_ATTPOWER;
	setarray .@OptVal[0],10;
	setarray .@OptParam[0],0;
	getitem3 1501, 1,1,0,0, 0,0,0,0, .@OptID,.@OptVal,.@OptParam;
	setarray .@OptVal[0],100;
	getitem3 1501, 1,1,0,0, 0,0,0,0, .@OptID,.@OptVal,.@OptParam;
	setarray .@OptVal[0],1000;
	getitem3 1501, 1,1,0,0, 0,0,0,0, .@OptID,.@OptVal,.@OptParam;
	end;
}

screen2019rAthena012.jpg

the ATK+100 is manipulable

in this case, how to give 2 or more options for the item?

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