d2jsp
Log InRegister
d2jsp Forums > Diablo II > Diablo 2: Resurrected > D2:R Discussion > D2r Speed (fcr/attackspeed/maby Fhr And Frw Later)
Prev1678
Add Reply New Topic New Poll
Member
Posts: 21,437
Joined: Sep 3 2006
Gold: 1,110.00
Dec 1 2021 04:15pm
Quote (gel87 @ Nov 27 2021 02:36pm)
IAS needed to reach EIAS breakpoint = {(120*(EIAS- SIAS + WSM))/(120-(EIAS - SIAS +WSM))}


This needed some correction^^

Its ofc ceiling, not Floor.
It also needed a few paranteces if thats the correct english Word xD


Code

Double throw / frenzy / double swing:
Vincrease doublethrow/frenzy =ceiling(70-wsm+SIAS+(120*ias/(120+ias));1)

Vincrease doubleswing =ceiling(120-wsm+SIAS+(120*ias/(120+ias));1)


This is how u find ias needed to reach VINC breakpoint:
Frenzy/double throw:
=ceiling(120*(Vinc-70-SIAS+WSM)/(120-(Vinc-70-SIAS+WSM));1)

Double swing:
=ceiling(120*(Vinc-120-SIAS+WSM)/(120-(Vinc-120-SIAS+WSM));1)
Member
Posts: 21,437
Joined: Sep 3 2006
Gold: 1,110.00
Dec 1 2021 07:36pm
Okay, so i did some mercs.
I found a deviant..

Okay, so rogue:
A1 is 15 frames pr direction and 256 animspeed.

So when i use this:
EIAS = [120*ias/(120+ias)+sias-wsm
FPA = {15*256/(256*(100+Eias)/100)}-1

I then get all correct ias breaks.
Example:
0wsm bow and lvl 15 fana
Ias -- eias -- fpa
0 -- 33 -- 11
5 -- 37 -- 10
20 -- 50 -- 9
48 -- 67 -- 8
102 -- 88 -- 7

Code

Data:
Character: A1 Merc - Rogue
Primary Weapon: Diamond Bow
Skill: Standard
IAS: 0
Weapon-IAS: 0
Fanaticism: Level 15

IAS attack speed [ticks] attacks per second
0 11 1.92
5 10 2.08
20 9 2.27
48 8 2.5


Fits like a glove for rogue.

Now act 2 merc:
-10 wsm giant tresher.
0 sias
A1 is 16 frames pr direction and Animspeed 256
Eias = [120*ias/(120+ias)+sias-wsm
FPA normal attack
FPA = {16*256/(256*(100+Eias)/100)}-1

IAS -- EIAS -- FPA
0 -- 0 -- 14
6 -- 15 -- 13
16 -- 24 -- 12
30 -- 34 -- 11
52 -- 46 -- 10
86 -- 60 -- 9 <-- missmatch... But this is were eias becomes 60... Not at 89... At 89 it becomes 61.
16/((100+60)/100) = 10
16/((100+61)/100) = 9,93
I believe d2ias calc online use roundup which should be wrong..
Can any1 test online? This would most likely never get noticed as its within the same 5ias increase.

Code
Data:
Character: A2 Merc - Town Guard
Primary Weapon: Giant Thresher
Skill: Standard
IAS: 0
Weapon-IAS: 0

IAS attack speed [ticks] attacks per second
0 14 1.56
6 13 1.66
16 12 1.78
30 11 1.92
52 10 2.08
89 9 2.27


Act2 merc jab:
Used same Eias, but
FPA = {14*256/(256*(100+Eias)/100}/2

Ias -- eias -- fpa
0 -- 0 -- 6,5
8 -- 17 -- 6
22 -- 28 -- 5,5
40 -- 40 -- 5
75 -- 56 -- 4,5
142 -- 75 -- 4

As we can see here again we found another deviant. 40Eias vs 41Eias. 40ias vs 42 ias.
14 / ((100+40)/100) / 2 = 5
14 / ((100+41)/100) / 2 = 4,96
Again it seems like d2ias calc is using roundup instead of ceiling. Which should be wrong.. This time it matter more, since 40 and 42 ias is not within the same 5ias increase. But maby not often noticed since 3 ias jools = 45...

Code

Data:
Character: A2 Merc - Town Guard
Primary Weapon: Giant Thresher
Skill: Jab
IAS: 0
Weapon-IAS: 0

IAS attack speed [ticks] attacks per second
0 6.5 3.33
8 6 3.57
22 5.5 3.84
42 5 4.16
75 4.5 4.54
142 4 5
Member
Posts: 16,280
Joined: Sep 25 2021
Gold: 12,037.00
Dec 1 2021 07:38pm
math... yes... I am 26 and still no clue what "}" does
Member
Posts: 21,437
Joined: Sep 3 2006
Gold: 1,110.00
Dec 1 2021 07:40pm
Quote (Kupcia @ Dec 2 2021 02:38am)
math... yes... I am 26 and still no clue what "}" does


{} ceiling
[] floor

Just a way of specifying rounding function.
Member
Posts: 16,280
Joined: Sep 25 2021
Gold: 12,037.00
Dec 1 2021 07:41pm
Quote (gel87 @ Dec 2 2021 02:40am)
{} ceiling
[] floor

Just a way of specifying rounding function.


rounding function, that makes sense
Member
Posts: 21,437
Joined: Sep 3 2006
Gold: 1,110.00
Dec 1 2021 07:47pm
Quote (Kupcia @ Dec 2 2021 02:41am)
rounding function, that makes sense


Yes.
So u can look on it like this:
Ceiling{16*256/(256*(100+EIAS)/100)}-1
As an example: 11,01 to 12,00 = 12
In excel you would write:
=ceiling(16*256/(256*(100+EIAS)/100);1)-1

Floor works the same. Only opposite, like example brlow
12,00 to 12,99 = 12
Member
Posts: 21,437
Joined: Sep 3 2006
Gold: 1,110.00
Dec 2 2021 02:52pm
Blizzard has now by rumours on this forum re-implemented the 75eias break, instead of the fun 200eias break d2r had to offer.

This dont mean all the formulas dont work anymore. You just need to add the cap in excel on the eias.

EIAS =If(floor(120*ias/(120+ias)+SIAS-WSM;1)>75;75;floor(120*ias/(120+ias)+SIAS-WSM;1))

This is unless they fucked up the entire attackspeed system. Some say they did and that forexample druids are way slower now than they were on d2lod.
I dno, i guess more info will come.
Go Back To D2:R Discussion Topic List
Prev1678
Add Reply New Topic New Poll