Jump to content
  • 0

Using "bAddClass,Class_All" instead of "bAtkRate"?


eppc0330

Question


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  60
  • Reputation:   0
  • Joined:  11/17/18
  • Last Seen:  

I wonder why an item script for ATK + @ % is "bAddClass, Class_All" instead of "bAtkRate"

Does it not work well If I use bAtkRate?

Edited by eppc0330
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.01
  • Content Count:  68
  • Reputation:   7
  • Joined:  02/21/19
  • Last Seen:  

They are done this way because that's how the damage is calculated in official renewal. You can use bAtkRate,n;. It's a bonus that works. But it is unofficial.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  60
  • Reputation:   0
  • Joined:  11/17/18
  • Last Seen:  

On 6/6/2020 at 12:45 PM, TheKingDino said:

They are done this way because that's how the damage is calculated in official renewal. You can use bAtkRate,n;. It's a bonus that works. But it is unofficial.

Oh I have checked this reply just right now. I understood. Thank you!!!!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   2
  • Joined:  06/15/23
  • Last Seen:  

Hello, to display the atk in % (bonus bAtkRate,n;) on the pre-renewal stats, please open pc.hpp and do the following.

Look for the line
     #define pc_leftside_atk(sd) ((sd)->battle_status.batk + (sd)->battle_status.rhw.atk + (sd)->battle_status.lhw.atk)

replace with 

#define pc_leftside_atk(sd) (((sd)->battle_status.batk + (sd)->battle_status.rhw.atk + (sd)->battle_status.lhw.atk) * (100 + (sd)->bonus.atk_rate) / 100)

I hope this helps a few people 🙂

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   0
  • Joined:  11/15/24
  • Last Seen:  

On 10/11/2024 at 4:28 PM, Olivier13300 said:

Hello, to display the atk in % (bonus bAtkRate,n;) on the pre-renewal stats, please open pc.hpp and do the following.

Look for the line
     #define pc_leftside_atk(sd) ((sd)->battle_status.batk + (sd)->battle_status.rhw.atk + (sd)->battle_status.lhw.atk)

replace with 

#define pc_leftside_atk(sd) (((sd)->battle_status.batk + (sd)->battle_status.rhw.atk + (sd)->battle_status.lhw.atk) * (100 + (sd)->bonus.atk_rate) / 100)

I hope this helps a few people 🙂

I tried this and recompiled not working for me.

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...