Jump to content
  • 0

I need a little help


Eros

Question


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  202
  • Reputation:   2
  • Joined:  07/09/12
  • Last Seen:  

function    script    Sample    {
	if( isequippedcnt( 4785) > 3 ){
		message strcharinfo(0),"Cant Wear More than 3 +10 Orbs.";
		nude;
	}
	return;
}
 

Is this correct? I made an orb that gives +10 All Stats but i need a script that allow only 3 Orbs per character to avoid imbalance of stats.


Btw i added the +10 Orb on the fourth slot of the item.


That script only work if i put the orb in the first slot of the item...

Edited by Patskie
Code
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  108
  • Reputation:   12
  • Joined:  06/19/12
  • Last Seen:  

I can see that you're trying to make an enchantment system ? I recommend you to use the existing system.

 

Link : http://rathena.org/board/topic/61734-custom-enchantment-system/

 

by the way, you can customize it as well to your endeavors just don't forget to keep the credits. 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  202
  • Reputation:   2
  • Joined:  07/09/12
  • Last Seen:  

That's not what i wanted.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  108
  • Reputation:   12
  • Joined:  06/19/12
  • Last Seen:  

That's not what i wanted.

 

Oh so what you're trying to do is similar with the charm system ? But you only want 3 orbs equipped ? Can you please elaborate it further with the details you want to happen ? I can't help a less-detailed problem. :3

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