Page 1 of 5
About "attackspeed" in the HUD, how does it work?
Posted: Sun Apr 03, 2005 6:37 pm
by Frank25
Two part question:
1. simply, how is the attack formula done? i know i read it somewhere before long ago on how you EQ calc's worn haste + spell haste = real haste.
Purely curious if someone can tell me that.
2nd, in MQ2 (and on my hud) theres an attackspeed variable.
When i wear an item with haste it either shows 140 (for 40%) and 141 (for 41%) haste.
It does not take into account spell haste.
Is this simply NOT possible anymore fr some reason, or do i just need to add the formula at point 1 above into the HUD file to calc it?
Thanks in advance
Posted: Sun Apr 03, 2005 7:08 pm
by notadruid
100 being normal speed. A 40 percent haste increases attacks by 40 percent: you attack at 140% your normal rate, hence the 140.
Item haste + spell haste does equal real haste. There is a cap (I believe somewhere in the neighborhood of 90-100% total) and bards have a few songs that can increase the cap.
Posted: Mon Apr 04, 2005 12:07 pm
by Grumpy
I think the problem he's referring to is whatever variable the HUD is using, is only showing item haste, not actual character haste. Spell haste (and actual charater haste) is probably one of the "unknowns" in the CHARINFO struct (assuming it's stored, and not calculated on the fly). Might want to change "Attackspeed" variable in current CHARINFO struct to "WornHaste". There are 24 unknown bytes in the CHARINFO struct immediately following Attackspeed, someone may want to poke into there and see if some of those bytes might be SpellHaste, SongHaste and Attackspeed for real.
Re: About "attackspeed" in the HUD, how does it work?
Posted: Mon May 05, 2025 9:11 am
by xyilla
Re: About "attackspeed" in the HUD, how does it work?
Posted: Mon May 05, 2025 9:48 am
by xyilla
Re: About "attackspeed" in the HUD, how does it work?
Posted: Mon May 05, 2025 9:49 am
by xyilla
Re: About "attackspeed" in the HUD, how does it work?
Posted: Mon May 05, 2025 9:51 am
by xyilla
Re: About "attackspeed" in the HUD, how does it work?
Posted: Mon May 05, 2025 9:52 am
by xyilla
Re: About "attackspeed" in the HUD, how does it work?
Posted: Mon May 05, 2025 9:53 am
by xyilla
Re: About "attackspeed" in the HUD, how does it work?
Posted: Mon May 05, 2025 9:54 am
by xyilla
Re: About "attackspeed" in the HUD, how does it work?
Posted: Mon May 05, 2025 9:55 am
by xyilla
Re: About "attackspeed" in the HUD, how does it work?
Posted: Mon May 05, 2025 9:56 am
by xyilla
Re: About "attackspeed" in the HUD, how does it work?
Posted: Mon May 05, 2025 9:57 am
by xyilla
Re: About "attackspeed" in the HUD, how does it work?
Posted: Mon May 05, 2025 9:58 am
by xyilla
Re: About "attackspeed" in the HUD, how does it work?
Posted: Mon May 05, 2025 10:00 am
by xyilla