Jump to content

Question

11 answers to this question

Recommended Posts

Posted

hello, 

the max use for kiel card 2 pcs in headgear or mid or low . if 3 kiel in alt Q  cant use 

Try this one :

if( isequippedcnt( 4403 ) > 2 ) { // do some script if kiel is more than 2 }
Posted

You have to do some dirty math to achieve this.

Change the bonus script from

bonus bDelayRate,-30;

to

set .@cnt, isequippedcnt(4403); bonus bDelayRate, (.@cnt > 2) ? -1 * (30 / .@cnt * 2) : -30;

 

Now the first to cards will have the full effect and every additional card will be ignored. There are some cases where more than two cards will nerf the bonus:

 

Amount of cards | Bonus value

1 | -30

2 | -60

3 | -60

4 | -60

5 | -60

6 | -60

7 | -56

8 | -56

9 | -54

10 | -60

11 | -55

12 | -60

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