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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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