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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

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