Jump to content
  • 0

Isequippedcnt (4145)


Xano

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   0
  • Joined:  07/23/13
  • Last Seen:  

Hello there,

 

I have got a new problem here.

 

This is my new written Berzebub Card (Card ID: 4145) effect:

bonus bCastrate,-50; bonus bMatkRate,5; if(BaseClass==Job_Mage||BaseClass==Job_Ninja) { bonus bMatkRate,3; }

It works perfect.

 

But now I want to add the feature, that it isn't wearable more then once.

 

To make this is just looked at my Kiel-D-01 Card /Card ID: 4403)effect, which has the 'non-stackable' script.

It looks like this:

bonus bDelayRate,( -30 / isequippedcnt (4403) );

Even this card works fine.

 

Now I tried to add the 'isequippedcnt' function into the Berzebub Card script.

It looks like this example:

bonus bCastrate,( -50 / isequippedcnt (4145) ); bonus bMatkRate,( 5 / isequippedcnt (4145) ); if(BaseClass==Job_Mage||BaseClass==Job_Ninja) { bonus bMatkRate,( 3 / isequippedcnt (4145) ); }

Well I think this script should work but it didn't. I have worn 2 normal Rings [1] with Berzebub Card and I got 2 bonusses instead of 1.

So it's still not working and I couldn't find the error.

 

Please help me to solve this,

 

thanks in advance ~ :3

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

Not with my PC but I guess you can try:

if (!isequippedcnt(4403) { bonus bCastrate,-50; bonus bMatkRate,5; if(BaseClass==Job_Mage||BaseClass==Job_Ninja) { bonus bMatkRate,3; }}

Forget it, I forgot about the stacking effect have to be divided. Srry :/

Edited by Bin4ry
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   0
  • Joined:  07/23/13
  • Last Seen:  

So this itemscript is wrong? q.q

Edited by Xano
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  295
  • Reputation:   6
  • Joined:  10/14/12
  • Last Seen:  

if(isequippedcnt(4145)>1) end; bonus bCastrate,-50; bonus bMatkRate,5; if(BaseClass==Job_Mage||BaseClass==Job_Ninja) { bonus bMatkRate,3; }

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   0
  • Joined:  07/23/13
  • Last Seen:  

Thanks man, black people are so clever!

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