Jump to content
  • 0

Status ATK Formula


ViewtifulNinja

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  35
  • Reputation:   1
  • Joined:  06/30/17
  • Last Seen:  

Where can I find the ATK status formula, which appears in the status window?

Something like this that shows in iRO?

StatusATK = floor[(BaseLevel ÷ 4) + Str + (Dex ÷ 5) + (Luk ÷ 3)]

https://irowiki.org/wiki/ATK#StatusATK

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  143
  • Reputation:   30
  • Joined:  12/23/11
  • Last Seen:  

\src\map\status.cpp
 

unsigned short status_base_atk

...

str = (dstr*10 + dex*10/5 + status->luk*10/3 + ((TBL_PC*)bl)->status.base_level*10/4)/10;

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  35
  • Reputation:   1
  • Joined:  06/30/17
  • Last Seen:  

You know how I put a limiter so this formula only works up to level 175?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  08/29/19
  • Last Seen:  

Where can I change the damage done by a character (StatusATK)?

The fact is that in the character's window 20 ATK is indicated, and 40 damage is inflicted (to be more precise, 39 damage).

I just can’t find where I can fix it so that the damage is done (statusATK) as indicated in the character’s window.

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

On 7/15/2018 at 8:28 AM, ViewtifulNinja said:

You know how I put a limiter so this formula only works up to level 175?

str = (dstr*10 + dex*10/5 + status->luk*10/3 + cap_value(((TBL_PC*)bl)->status.base_level, 1, 175)*10/4)/10;
cap_value(((TBL_PC*)bl)->status.base_level, 1, 175)   <-- cap the value between 1 ~ 175

 

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...