Taking the Aggravation Out AggDef

26 05 2010
Agg/Def Bar

Agg/Def Bar

It sounds so simple.  The AggDef calculator says you will get your toons best defense and fastest offense with a setting of  88  (as an example.)  You move your mouse pointer down to the bar and drag it to where you think/guess 88  is.  And that turns out to be the problem.

The AggDef bar has no precise indication of what any position on the slider equals, so the best anyone could do was to eyeball and guess where the slider should be.

There is a solution to the problem, but it will take a small amount of effort to set up.  It is possible to use a combination of chat commands and information windows to learn precisely where the AggDef bar is set at any time.


  1. Create a text file  with the contents of the code found at the link below, in your AO help folder and name it  addall-stats.txt.  It should be saved in this folder:
    Anarchy Online/cd_image/text/help

  2. Create a macro to display this file as an information window.  Open a chat window in game and type: /macro showaddall /showfile addall-stats.txt After pressing Enter, an AO macro button should appear attached to your mouse pointer which you can now drop onto the hot bar of your choice.
  3. Move your AggDef bar to your best guess of where your desired setting is.  Activate the macro you just created by clicking on the macro button.  An information window should appear that says Misc Stats.

    Resulting Information Window, click on the "Misc Stats" link.

    Resulting Information Window, click on the "Misc Stats" link.

  4. Click on Misc Stats, and a second information window should appear listing a number of different statistics.

    Misc Stats Information Window, click on Aggdef-Slider

    Misc Stats Information Window, click on Aggdef-Slider

  5. Click on the one that says Aggdef-Slider and the information window should then display the actual numerical value of the AggDef bars current setting.

    Opps too far to the right

    Opps too far to the right

The values can be confusing at first because most discussions of the Agg/Def bar refer to it as a scale running 0 to 100%. Another factor that often confuses people is that the bar actually is laid out with Def on the left and Agg on the right.

The values returned by these scripts divide the scale into two sections.  The Defensive left half values run -100 to 0. (Counting up from -100,-99,-98 etc.) The Aggressive right half runs 0 to 100 (Counting from 0, +1, +2 etc.)

Comparison of Calculator VS Script Output Values

Comparison of Calculator VS Script Output Values

In order to utilize the recommendations from the Agg/Def Calculator some translation is needed.


  1. Suppose the calculator recommends a setting of 47%.  Since this value is less than 50 it will be in the left side scale, so we divide the recommended value by 50 and then multiply the result by 100, and finally add that value to -100.
    47/50 = .90
    .90 x 100 = 90
    (-100)+90= -10

    The desired script output value will be -10.  You then need to adjust the slider to where you think 47% is, run the script and see if the reported value is -10.  Re-adjust and re-run the script until you find the script reports -10.
  2. If the AggDef Calculators value is greater than 50, subtract 50 from it, and multiply by 2 to get the corresponding script value.  If the Calculator gives 60,  then 60-50 = 10 followed by  10 *  2 = 20.  A script value output of +20 should equal a setting of 60 on the AggDef bar.
    60 - 50 = 10
    10 x 2 = 20
  3. If the AggDef Calculator value is 50, the desired script output will be 0.

Suggested Reading:

AO Wiki – Scripts

AO Wiki – Macros

AO Arcanum – Help Files

AO Arcanum – Basic Scripting

AO Arcanum – Advanced Scripting

How Inits Work

AggDef Calculator

The Jynne Guide to Auto-Attack

Guide – Attack rating and weapon damage




Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: