Jump to content
  • 0
Sign in to follow this  
Svanhild

ATK Formula

Question

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.

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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

Edited by Blinzer

Share this post


Link to post
Share on other sites
  • 0

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

battle.c

/*==========================================
 * 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)
Edited by x13th

Share this post


Link to post
Share on other sites
  • 0

I think that's not what I'm looking for. I'm looking for something like the calculation for every STR = ATK

Share this post


Link to post
Share on other sites
  • 0

Thanks for this, I was able to find this before you post and verified it. And yeah it works thanks a lot!

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
Sign in to follow this  

×
×
  • Create New...

Important Information

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