Jump to content
  • 0

Item will have no effect if atleast x,y,z is/are equipped


Question

Posted

Thanks again master scripters

 

 

1519 will have no effect if atleast one of 1520,1521,1522 is/are equipped....

(an inverse of item combo effect)

 

 

1519,Chain,Chain,4,23000,,800,84,,1,2,0x0004C5B2,7,2,2,2,14,1,8,{ bonus bStr,10; bonus bVit,10;},{},{}
 

1 answer to this question

Recommended Posts

Posted
*getequipid(<equipment slot>)

This function returns the item ID of the item equipped in the equipment slot

specified on the invoking character. If nothing is equipped there, it returns -1.

Valid equipment slots are:

..... etc

 

You can try using the getequipid() command like this:

1519,Chain,Chain,4,23000,,800,84,,1,2,0x0004C5B2,7,2,2,2,14,1,8,{   if(getuipid(EQI_HAND_L)!=1520 || getuipid(EQI_HAND_L)!=1521 || getuipid(EQI_HAND_L)!=1522 ) { bonus bStr,10; bonus bVit,10; }  },{},{}

This is untested. ;)

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...