Jump to content
  • 0

Player's Attack Damage Script


Question

1 answer to this question

Recommended Posts

  • 0
Posted

It already has damage variance. It's from DEX to WeaponATK. So e.g. if you have 50 dex and the weapon has 140 attack power you have a variance from 50 to 140, plus the base damage. At least that's how it works in pre-renewal.

Other than that, you can always modify damage formulas in battle.c

Seach for "atkmin", then you find the relevant code locations (there are multiple).

https://raw.githubusercontent.com/rathena/rathena/master/src/map/battle.c

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...