Attack Speed values.
Attack Speed values.
What are the hidden values to calculate the attack speed value?
And where can I look to calculate it myself?
What I want to know is how much attack speed the char has without any modifier (skills).
And how the agility (and dexterity i think) modifies it.
And which value the weapons have.
Simply everything which refers to the attack value.
I know the wiki very well which gives no answer to that question.
And where can I look to calculate it myself?
What I want to know is how much attack speed the char has without any modifier (skills).
And how the agility (and dexterity i think) modifies it.
And which value the weapons have.
Simply everything which refers to the attack value.
I know the wiki very well which gives no answer to that question.
Dany
- Freeyorp101
- Archivist Prime
- Posts: 769
- Joined: 04 Nov 2008, 09:17
- Location: New Zealand
Re: Attack Speed values.
(I'm assuming that you're asking about the tmwAthena server here.)
The base attack speed is derived from the type of weapon the character has equipped and the class of the character (unused by us, all characters are the same basic class)
The values are specified in the job_db1 [link]. The first column specifies the class. Columns starting from the fifth specify the attack speed for each weapon type (starting from a type of 0)
The type of a weapon is specified in the item_db [link]. The bows all have type 11 (aspd of 900). Most melee weapons have type 1 (aspd of 700); however the scythe and setzer both have type 3 (aspd 600), making them considerably faster.
Of course, there are other modifiers provided (based on the weapon used, agility, and dexterity) The calculations start at around [here] (line number accurate as of the most recent commit f400feb).
I hope this helps.
---Freeyorp
The base attack speed is derived from the type of weapon the character has equipped and the class of the character (unused by us, all characters are the same basic class)
The values are specified in the job_db1 [link]. The first column specifies the class. Columns starting from the fifth specify the attack speed for each weapon type (starting from a type of 0)
The type of a weapon is specified in the item_db [link]. The bows all have type 11 (aspd of 900). Most melee weapons have type 1 (aspd of 700); however the scythe and setzer both have type 3 (aspd 600), making them considerably faster.
Of course, there are other modifiers provided (based on the weapon used, agility, and dexterity) The calculations start at around [here] (line number accurate as of the most recent commit f400feb).
I hope this helps.

---Freeyorp
(09:58:17) < tux9th> Freeyorp: your sig on the forums is kind of outdated
Re: Attack Speed values.
And ASPD is the delay between attacks in milliseconds?
This message used to be meaningful.
Re: Attack Speed values.
Thank you for the reply.
Yes I was talking about the tmwAthena server.
I don't understand the code and can't find the modifiers for dex or agi.
The importance for me is to know what difference concerning aspd have these two skills (dex and agi).
I found such a formula:
ASPD = 200 - SpeedMods (WeaponDelay - ([WeaponDelay*Agi/25] + [WeaponDelay*Dex/100])/10)
Which saith that dex has 1/4 aspd as agi.
How many aspd do I add to my weapon(aspd) per dex or agi?
Yes I was talking about the tmwAthena server.
I don't understand the code and can't find the modifiers for dex or agi.
The importance for me is to know what difference concerning aspd have these two skills (dex and agi).
I found such a formula:
ASPD = 200 - SpeedMods (WeaponDelay - ([WeaponDelay*Agi/25] + [WeaponDelay*Dex/100])/10)
Which saith that dex has 1/4 aspd as agi.
How many aspd do I add to my weapon(aspd) per dex or agi?
Dany
- Freeyorp101
- Archivist Prime
- Posts: 769
- Joined: 04 Nov 2008, 09:17
- Location: New Zealand
Re: Attack Speed values.
As far as I can tell. If not, it's certainly something very close.Rotonen wrote:And ASPD is the delay between attacks in milliseconds?
The [link] to pc.c in my earlier post had the effect of agi and dex on aspd; to clarify, agi is stored in sd->paramc[1], dex is stored in sd->paramc[4]. So the forumla for that particular part would be equivalent to: aspd = (weapon type base speed for the characters class) - (agi * 4 + dex) * (weapon type base speed for the characters class) / 1000.Dani wrote:How many aspd do I add to my weapon(aspd) per dex or agi?
---Freeyorp
(09:58:17) < tux9th> Freeyorp: your sig on the forums is kind of outdated
Re: Attack Speed values.
would it be possible to implement the attackspeed value already being calculated into the stats window? i think this is an important thing to know.
Re: Attack Speed values.
Manaplus has it
bcs86 wrote:This game is a long way from looking like something people could take seriously.
Re: Attack Speed values.
i can't find it. using manaplus 1.0.6.21 linux - is it too old or do i have to enable it somewhere hidden?
Re: Attack Speed values.
Update client, it showing in status window (F2) and named "Attack Delay"kinwa wrote:i can't find it. using manaplus 1.0.6.21 linux - is it too old or do i have to enable it somewhere hidden?
Re: Attack Speed values.
thx, it works now 
