how to increase atk bonus in every 10 stat points

hi guys..how can i increase the attack bonus in every ten stat points..
When using item? And i dont know if base attack or attack power anyways, try this..

On every 10 Str your base attack will increase by 5

bonus bAtk,readparam(bStr)/10 *(5);
 
Last edited by a moderator:
with Renewal Features:

In src/map/status.c

str = (int)(rstr + (float)dex/5 + (float)st->luk/3 + (float)((TBL_PC*)bl)->status.base_level/4);
change for:

Code:
str = (int)(rstr + (float)dex/5 + ((rstr/10)*(rstr/10))+ (float)st->luk/3 + (float)((TBL_PC*)bl)->status.base_level/4);
 
Last edited by a moderator:
with Renewal Features:

In src/map/status.c

str = (int)(rstr + (float)dex/5 + (float)st->luk/3 + (float)((TBL_PC*)bl)->status.base_level/4);change for:
Code:
str = (int)(rstr + (float)dex/5 + ((rstr/10)*(rstr/10))+ (float)st->luk/3 + (float)((TBL_PC*)bl)->status.base_level/4);
thx sir Triedge. This solved my problem.One more thing how about the matk? Bonus.

 
Back
Top