# Axbow DX-drain test (in General)

## stabilo[Lonesome fighter]January 26 2006 3:25 PM EST

Hi,

the wiki says:
Drains DX: 1/3% of the target's DX plus some unknown constant (about 225) for every 'x' on the crossbow. (i.e. A [4x1] Assassin's Crossbow drains 0.33% DX plus ?? DX per damage dealing hit.)

Shade asked me to proof my solution, so i post my small calculations and tests i made, so we can discuss together if this might be right or not.

The following table is based on real (tested) values and those out of the wiki (except the constant of course). It exacly represents what's happening during the DX drain calculation as i believe it might work.

Minion values on one of the tests:

before fight:

HP: 0/201,434
ST: 123,161
DX: 90,490

after fight:

HP: -12,799
ST: 123,161
DX: 65,285

shots:
Thomy der Zerhexler shot Banana Republic [9979]
Banana Republic looks clumsier!
Thomy der Zerhexler hit Banana Republic [9902]
Banana Republic looks clumsier!
using [4x25]+16
 Start (1): % drain (2) [x25] (3) rest A (4) const (5) [x25] (6) After hit (7) 25 1/3 % * x = + const * x = hit 1 90490 301.63 7540.83 82949.17 224.38 5609.6 77339.57 hit 2 77339.57 257.8 6444.96 70894.6 224.38 5609.6 65285 dx const [x ] 1. hit after 1. hit 2. hit after 2. hit # hits test 1: 90490 225 25 13150.43 77339.57 12054.57 65285 2 test 2: 123517 225 24 14813 108704 1 All numbers are in DX
Those calculations were made by finding a value for the constant so that the remaining DX comes to exactly the result of the fight. Both tests resulted closely to 225.

hope this might be interesting for some of you ;-)

## QBsutekh137January 26 2006 3:29 PM EST

Thanks, man! Great research!!!!

## th00pJanuary 26 2006 3:32 PM EST

So, now that you've done this conclusive research, why haven't you gone and changed the wiki to have the constant as 224.38? =P

## Vaynard[Fees Dirt Cheap]January 26 2006 3:34 PM EST

Hmmm, I before also came to 225 or 224.38 (very close to it) but couldn't quite grasp that that was 'it'...

## QBRangerJanuary 26 2006 3:46 PM EST

I can give some results with higher x axbows.

Vs Imp, when he had 1.6 million dex:

A x44 axbow drained about 170k per hit.
A x50 axbow drained about 230k per hit.

Do these numbers fit into your formula?

Vs Imp, when he had 1.6 million dex:

A x44 axbow drained about 170k per hit. (named makes it x46)
A x50 axbow drained about 230k per hit. (named makes it x52)

x46 drains 15,3% DX (which is 244800 DX ) + 10322 per hit.

which comes to a total of 250k+ drained, no doesn't make sense...

## stabilo[Lonesome fighter]January 26 2006 4:01 PM EST

No, they don't.

Vs Imp, when he had 1.6mil dx

A x44 axbow drained about 170k per hit. 1.6mil dx * 1/3% * 44 = 234k
A x50 axbow drained about 230k per hit. 1.6mil dx * 1/3% * 50 = 267k

## QBRangerJanuary 26 2006 4:07 PM EST

When he had 1.6 million Dex, he and I CM'd about how much dex he lost.

It was 170k for 1 hit and 340k for 2 hits.

I could be a little off and he may have had a 1.4-1.5 million dex. That was with my named x44 axbow.

## QBsutekh137January 26 2006 5:08 PM EST

I think any estimates at that high of a level are pretty much going to make a three-digit constant indistinguishable. *smile* You are comparing 6 or 7 significant figures to three...even standard rounding issues will probably throw things off.

well rounding some things off wouldn't cause a 40% difference...

## Peter at homeJanuary 26 2006 7:20 PM EST

When I was doing tests with x30 axbows quite a long time ago, I figured out that the constant was 495.

What I can conclude from the number provided by Ranger....
It is possible there is a bug in the code in the way how the draining is calculated.

## QBRangerJanuary 26 2006 7:26 PM EST

I checked old changelogs and came across this:

"Increased drain by axbow/exbow; also added a non-percentage factor to make them more useful at low levels."

I guess that the higher the x on the axbow the less percentage it drains which may account for the results I am getting as the axbows I am using are very high end ones.

## jayuuJanuary 26 2006 7:42 PM EST

Fresh info for you. Imp vs TAB.

Ranger's AxBow is x50, named.
Imp's starting DX is 1,718,699.

Imp's DX after 1 hit is 1,459,569 - dropped 259,130
after 2 hits - 1,238,013 - dropped 480,686

## stabilo[Lonesome fighter]January 27 2006 9:30 AM EST

> Fresh info for you. Imp vs TAB.

> Ranger's AxBow is x50, named.
> Imp's starting DX is 1,718,699.

> Imp's DX after 1 hit is 1,459,569 - dropped 259,130
> after 2 hits - 1,238,013 - dropped 480,686

These values are reached using no constant and 0,0024739 as constant. the value of 1/3% is 0,0033333, though at x52 this percentage seems to be dropped by about 25% (0,003 - 0,0024 = 0,000859 = 25% * 0,003)

So maybe you are right, these values say that x50 has only about 75% of 1/3% percentage dx drain. Here i also assume that no constant drain is applied at all, though the real %-drop in relation to weapons [x ] might be even higher.

## stabilo[Lonesome fighter]January 28 2006 9:02 AM EST

Hi,

if you want to help me, please post some more stats on DX-drains (inkluding DX before fight, remaining DX after hits, EC DX reduction, [x] of axbow and number of hits with axbow). Maybe even damage could have influence, also there is nothing like this mentioned anywhere ..

So i might enhance my formula to find better magic constants ;-)

it's only based on the X'es of the axbow/exbow but indeed the ratio of the drain seems to go down as the X'es go up...

have some more measuring points saved here:

## QBRangerJanuary 28 2006 11:37 AM EST

Of course one has to remember any hits more than one skewes the results.

IE if the axbow drains 10% of the dex and you hit someone with 100k dex 2 times, you will not make their final dex 80k.

It will actually be 90k after the first hit THEN 81k after the 2nd hit. Which means each hit over 1 drains less dex. In my example the first drained 10k, the second only 9k and a third would only drain 8.1k etc.....