ATK Formula

Svanhild

New member
Messages
115
Points
0
Location
Queenslander
Emulator
I've been looking everywhere but I can't seem to find the most accurate way to modify the atk formula (normal phyiscal damage). It's way too low for my server, I wanna raise the ATK stat globally. Thanks.

 
I don't know if this the right one but worth trying

battle.c

Code:
/*==========================================
 * Check damage trough status.
 * ATK may be MISS, BLOCKED FAIL, reduce, increase, end status...
 * After this we apply bg/gvg reduction
 *------------------------------------------*/
int64 battle_calc_damage(struct block_list *src,struct block_list *bl,struct Damage *d,int64 damage,uint16 skill_id,uint16 skill_lv)
 
Last edited by a moderator:
my specialty and although i haven't touched any of this stuff myself, it should be this in status.c

c7k03fX.png


"str" in this case means atk, named very deceivingly. change lines 2001 and 2002 to modify the every 10 str bonus, and line 2009 is the atk bonus given from dex and luck in pre-re. line 2005 is the dex and luk bonus to players in renewal

 
Last edited by a moderator:
Back
Top