Ebag333's AR and NR hit chance calculator

Original Post

Well, I haven’t been disappeared just yet.

Good news and bad news.

Bad news, SG lost the database. So hundreds of thousands of pieces of data are gone.

Good news, he had the files, which contained the formulas! If it looks like javascript…that’s 'cause it is!

Anyway, to make your own calculator, follow these easy steps.

  1. Create a new text file.
  2. Rename text file to name of your choice, but change extension from .txt to .hta (I suggest NanoLandCalculator.hta or similar).
  3. Edit .hta file in Notepad.
  4. Copy and paste the text below into Notepad (only one of the code blocks below per .HTA).
  5. Save file.
  6. Launch HTA by double clicking on it.
  7. Calculate! (Be sure to read and follow the instructions!)
  8. ???
  9. Profit!

Nano Calculator

AR Calculator
Nano AR Calculator
Attacker Data:
Skill: <INPUT
TYPE=TEXT

NAME=attskill1

VALUE="1000"

SIZE=7

onBlur=checkForZero(this)

onChange=checkForZero(this)>
Check: <INPUT
TYPE=TEXT

NAME=attskillcheck1

VALUE="100"

SIZE=7

onBlur=checkForZero(this)

onChange=checkForZero(this)>
Skill: <INPUT
TYPE=TEXT

NAME=attskill2

VALUE="0"

SIZE=7
Check: <INPUT
TYPE=TEXT

NAME=attskillcheck2

VALUE="0"

SIZE=7
Skill: <INPUT
TYPE=TEXT

NAME=attskill3

VALUE="0"

SIZE=7
Check: <INPUT
TYPE=TEXT

NAME=attskillcheck3

VALUE="0"

SIZE=7
Defender Data:
Skill: <INPUT
TYPE=TEXT

NAME=defskill1

VALUE="1000"

SIZE=7

onBlur=checkForZero(this)

onChange=checkForZero(this)>
Check: <INPUT
TYPE=TEXT

NAME=defskillcheck1

VALUE="100"

SIZE=7

onBlur=checkForZero(this)

onChange=checkForZero(this)>
Skill: <INPUT
TYPE=TEXT

NAME=defskill2

VALUE="0"

SIZE=7
Check: <INPUT
TYPE=TEXT

NAME=defskillcheck2

VALUE="0"

SIZE=7
Skill: <INPUT
TYPE=TEXT

NAME=defskill3

VALUE="0"

SIZE=7
Check: <INPUT
TYPE=TEXT

NAME=defskillcheck3

VALUE="0"

SIZE=7
Agg/Def Bar: <INPUT
TYPE=TEXT

NAME=defbar

VALUE=0

SIZE=7>
Results:
Diff AR %:

<INPUT

TYPE=TEXT

NAME=diffar

SIZE=7>
Land Rate:

<INPUT

TYPE=TEXT

NAME=landrate

SIZE=7>
Miss Rate: <INPUT
TYPE=TEXT

NAME=missrate

SIZE=7>
<INPUT
TYPE=BUTTON

NAME="cmdCalc"

VALUE="Calculate"

onClick=cmdCalc_Click(this.form)>
&nbsp

Nano AR Calculator

This page uses a form to calculate the land rate for nanos.

Here's how you use this form:

  1. Enter the attackers skills (typical nano skills).
  2. Enter the attack skill check amounts (always enter the percentage amount, so a 100% check nano is entered as 100, not 1).
  3. Enter the defenders skills (typically Nano Resist).
  4. Enter the defense skill check amounts (always enter the percentage amount, so a 100% check nano is entered as 100, not 1).
  5. Enter the defenders Agg/Def bar setting. Note that this runs from -100 (full defense) to 100 (full aggro), with neutral (50/50) being 0.
  6. Click Calculate.


This calculator should be accurate +-5% for any calculations at full def (-100). Anything else has been tested less (or not at all) and may or may not be accurate.

Just in case you were curious, skill = AAO, and evades = AAD.

Also, diff_ar = ar/(ar+def). This is used to always give me a number that is between 0 and 1 (0% and 100% when converted to a percentage).

Weapon Calculator

<HTML>
AR Calculator
Weapon AR Calculator
Attacker Data:
Skill: <INPUT
TYPE=TEXT

NAME=attskill1

VALUE="1000"

SIZE=7

onBlur=checkForZero(this)

onChange=checkForZero(this)>
Check: <INPUT
TYPE=TEXT

NAME=attskillcheck1

VALUE="100"

SIZE=7

onBlur=checkForZero(this)

onChange=checkForZero(this)>
Skill: <INPUT
TYPE=TEXT

NAME=attskill2

VALUE="0"

SIZE=7
Check: <INPUT
TYPE=TEXT

NAME=attskillcheck2

VALUE="0"

SIZE=7
AAO: <INPUT
TYPE=TEXT

NAME=attskill3

VALUE="0"

SIZE=7
Check: <INPUT
TYPE=TEXT

NAME=attskillcheck3

VALUE="100"

SIZE=7
Defender Data:
Skill: <INPUT
TYPE=TEXT

NAME=defskill1

VALUE="1000"

SIZE=7

onBlur=checkForZero(this)

onChange=checkForZero(this)>
Check: <INPUT
TYPE=TEXT

NAME=defskillcheck1

VALUE="100"

SIZE=7

onBlur=checkForZero(this)

onChange=checkForZero(this)>
Skill: <INPUT
TYPE=TEXT

NAME=defskill2

VALUE="0"

SIZE=7
Check: <INPUT
TYPE=TEXT

NAME=defskillcheck2

VALUE="0"

SIZE=7
AAD: <INPUT
TYPE=TEXT

NAME=defskill3

VALUE="0"

SIZE=7
Check: <INPUT
TYPE=TEXT

NAME=defskillcheck3

VALUE="100"

SIZE=7
Agg/Def Bar: <INPUT
TYPE=TEXT

NAME=defbar

VALUE=0

SIZE=7>
Results:
Diff AR %:

<INPUT

TYPE=TEXT

NAME=diffar

SIZE=7>
Land Rate:

<INPUT

TYPE=TEXT

NAME=landrate

SIZE=7>
Miss Rate: <INPUT
TYPE=TEXT

NAME=missrate

SIZE=7>
<INPUT
TYPE=BUTTON

NAME="cmdCalc"

VALUE="Calculate"

onClick=cmdCalc_Click(this.form)>
&nbsp

Weapon AR Calculator

This page uses a form to calculate the land rate for Weapons.

Here's how you use this form:

  1. Enter the attackers skills (typical Weapon skills).
  2. Enter the attack skill check amounts (always enter the percentage amount, so a 100% check Weapon is entered as 100, not 1).
  3. Enter the defenders skills (typically Evade/Dodge/Duck).
  4. Enter the defense skill check amounts (always enter the percentage amount, so a 100% check Weapon is entered as 100, not 1).
  5. Enter the defenders Agg/Def bar setting. Note that this runs from -100 (full defense) to 100 (full aggro), with neutral (50/50) being 0.
  6. Click Calculate.


This calculator should be accurate +-5% for any calculations at full def (-100). Anything else has been tested less (or not at all) and may or may not be accurate.

Just in case you were curious, skill = AAO, and evades = AAD.

Also, diff_ar = ar/(ar+def). This is used to always give me a number that is between 0 and 1 (0% and 100% when converted to a percentage).