• Due to recent spam attacks that heavily used compormised accounts we did reset all user passwords, AGAIN, if it happens and your account got compromised again due to re-used passwords your account will be perma-banned.

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

astralprojection

Active member
Messages
334
Points
28
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.
 
 
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

 
Back
Top