Jump to content
  • 0
astralprojection

bBaseAtk,-negative value; ** Not Working **

Question

Hermode Cap [1]   [Upper Head]   Item ID# 5481 (Hermose_Cap)
    Script: <"
        bonus bAspdRate,10;
        bonus bBaseAtk,-20;
        bonus bMatkRate,-10;
    ">

I notice that when having negative value on bBaseAtk, it did not reduce atk, but if positive, it adds to atk at status window. I think it should reduce.  

 

You can try adding bonus bBaseAtk,-20; to any items you have if you don't have 5481 in your client data for testing purposes.

 

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

 

Hermode Cap [1]   [upper Head]   Item ID# 5481 (Hermose_Cap)

Script: <"

bonus bAspdRate,10;

bonus bBaseAtk,-20;

bonus bMatkRate,-10;

">

I notice that when having negative value on bBaseAtk, it did

not reduce atk, but if positive, it adds to atk at status window. I

think it should reduce.  

 

You can try adding bonus bBaseAtk,-20; to any items you have if you don't have 5481 in your client data for testing purposes.

 

 

        case SP_BASE_ATK:
            if(sd->state.lr_flag != 2) {
#ifdef RENEWAL
                bst->equip_atk += val;
#else
                bonus = bst->batk + val;
                bst->batk = cap_value(bonus, 0, USHRT_MAX);
#endif
            }
 

 

In Renewal, it would allow negative value.

In PreRenewal, it won't allow negative value, it caps from 0 to 65535

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.