Xano Posted September 8, 2014 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 30 Reputation: 0 Joined: 07/23/13 Last Seen: January 1, 2015 Share Posted September 8, 2014 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 Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted September 8, 2014 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted September 8, 2014 (edited) 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 September 8, 2014 by Bin4ry Quote Link to comment Share on other sites More sharing options...
Xano Posted September 8, 2014 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 30 Reputation: 0 Joined: 07/23/13 Last Seen: January 1, 2015 Author Share Posted September 8, 2014 (edited) So this itemscript is wrong? q.q Edited September 8, 2014 by Xano Quote Link to comment Share on other sites More sharing options...
Fresh prince Posted September 9, 2014 Group: Members Topic Count: 69 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 10/14/12 Last Seen: June 12, 2021 Share Posted September 9, 2014 if(isequippedcnt(4145)>1) end; bonus bCastrate,-50; bonus bMatkRate,5; if(BaseClass==Job_Mage||BaseClass==Job_Ninja) { bonus bMatkRate,3; } Quote Link to comment Share on other sites More sharing options...
Xano Posted September 9, 2014 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 30 Reputation: 0 Joined: 07/23/13 Last Seen: January 1, 2015 Author Share Posted September 9, 2014 Thanks man, black people are so clever! Quote Link to comment Share on other sites More sharing options...
Question
Xano
Hello there,
I have got a new problem here.
This is my new written Berzebub Card (Card ID: 4145) effect:
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:
Even this card works fine.
Now I tried to add the 'isequippedcnt' function into the Berzebub Card script.
It looks like this example:
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.