Attack Speed

Have a really dumb question? Ask it here to get help from the experts (or those with too much time on their hands)

Moderator: Moderator

Post Reply
Message
Author
Xandor Tik'Roth
Keeper
Posts: 1548
Joined: Tue Aug 12, 2003 3:08 pm
Location: The edge of the Abyss

Attack Speed

#1 Post by Xandor Tik'Roth »

So I noticed that as of 1.1.5, Attack speed is set to adhere to the rules of all other speeds instead of doing it's own thing. So, I'm running a Berserker. Got a 100% attack speed greatmaul, but when I look at my character sheet, it shows that I'm running with an attack speed of 83.3. After some equipment adjustment, I discover that the only thing dropping my attack speed is a set of Corrosive Iron Gauntlets of Dexterity. There's no mention of any attack speed loss on the stats. I've got 3 levels into Armour Training.

Can someone tell me why a set of gauntlets is effecting my attack speed in a game where equipment encumbrance doesn't factor into speed?
And it was such a good idea...

malboro_urchin
Archmage
Posts: 393
Joined: Thu Dec 12, 2013 7:28 pm

Re: Attack Speed

#2 Post by malboro_urchin »

I know that for Brawlers, iron gauntlets have the same attack speed you're describing.
Mewtarthio wrote:Ever wonder why Tarelion sends you into the Abashed Expanse instead of a team of archmages lead by himself? They all figured "Eh, might as well toss that violent oaf up in there and see if he manages to kick things back into place.

Crim, The Red Thunder
Sher'Tul Godslayer
Posts: 2000
Joined: Fri May 07, 2004 8:26 pm
Location: Nahgharash

Re: Attack Speed

#3 Post by Crim, The Red Thunder »

Display error, on several levels. Gauntlets aren't ACTUALLY affecting attack speed of normal melee, only unarmed melee.

And they're granting a 20% bonus not penalty, to the unarmed combat users, as gloves are granting a 40% bonus. (so 120% and 140% respectively.)

When speed was changed, the displays did not update appropriately on these pieces of equipment, hence the errors seen.
Currently playing under the name Aura of the Dawn 4 down, 227 to go!
Proud author of Orc Pit Restoration Project, Faction Allies, Dwarven Adventurer addons
SadistSquirrel wrote:DarkGod has two arms, one with an opened hand, one with a closed fist. You got the fist.

Xandor Tik'Roth
Keeper
Posts: 1548
Joined: Tue Aug 12, 2003 3:08 pm
Location: The edge of the Abyss

Re: Attack Speed

#4 Post by Xandor Tik'Roth »

Has anyone bothered to report this error?
And it was such a good idea...

Crim, The Red Thunder
Sher'Tul Godslayer
Posts: 2000
Joined: Fri May 07, 2004 8:26 pm
Location: Nahgharash

Re: Attack Speed

#5 Post by Crim, The Red Thunder »

It's been mentioned in IRC many times, I thought someone had reported it on bug forums as well. Could be wrong though.
Currently playing under the name Aura of the Dawn 4 down, 227 to go!
Proud author of Orc Pit Restoration Project, Faction Allies, Dwarven Adventurer addons
SadistSquirrel wrote:DarkGod has two arms, one with an opened hand, one with a closed fist. You got the fist.

Faeryan
Sher'Tul
Posts: 1308
Joined: Wed Jan 07, 2004 5:01 pm
Location: Finland

Re: Attack Speed

#6 Post by Faeryan »

Sure it doesn't actually affect? I haven't seen any difference but someone mentioned the gauntlets screwing up their block rotation.
Stronk is a potent combatant with a terrifying appearance.

Xandor Tik'Roth
Keeper
Posts: 1548
Joined: Tue Aug 12, 2003 3:08 pm
Location: The edge of the Abyss

Re: Attack Speed

#7 Post by Xandor Tik'Roth »

I'm not sure, but I don't recall anything getting two moves in on me at any point while I was wearing heavier gauntlets.
And it was such a good idea...

Marson
Uruivellas
Posts: 645
Joined: Thu Jan 16, 2014 4:56 am

Re: Attack Speed

#8 Post by Marson »

I threw in a couple of lines to check.
game.logSeen(self, "Attack speed: %s", speed)

Using a sword
With light gauntlets: [LOG] Attack speed: 1
With heavier gauntlets: [LOG] Attack speed: 0.9

This does seem odd to me, and maybe unintended. I'm working on an addon to bring it back to 100%, as there's no indication that they should be slowing down attacks.

Xandor Tik'Roth
Keeper
Posts: 1548
Joined: Tue Aug 12, 2003 3:08 pm
Location: The edge of the Abyss

Re: Attack Speed

#9 Post by Xandor Tik'Roth »

Might be better to put that in the Bugs forum and have DG fix on the back end. That way you don't have to download an addon to fix an in-game issue.
And it was such a good idea...

Marson
Uruivellas
Posts: 645
Joined: Thu Jan 16, 2014 4:56 am

Re: Attack Speed

#10 Post by Marson »

I was thinking for the interim. There's already a thread in the bugs forum, but I'll append my log output.

Marson
Uruivellas
Posts: 645
Joined: Thu Jan 16, 2014 4:56 am

Re: Attack Speed

#11 Post by Marson »

Well that was a bone-headed move. I didn't notice I had a 111% speed sword equiped instead of a 100% speed sword. With the correct one in place, viewing the character sheet triggers player.combat.physspeed = 1.2 and player.combat_physspeed = 1, but attacking shows that weapon.combat.physspeed = 1 and player.combat_physspeed = 1, so the sheet is off, but the attacks are correct for both types of gloves. I must have accidentally clicked on both sword and gloves when I switched.

Marson
Uruivellas
Posts: 645
Joined: Thu Jan 16, 2014 4:56 am

Re: Attack Speed

#12 Post by Marson »

But the heavy gauntlets *do* affect Block rotation, which is what got me to look into this in the first place. I wanted to make sure I was awake before I tested that again. If my Stone Warden isn't wearing any gloves, and I'm not around any NPCs to mess with turn counts, I can get a consistent countdown of 2 turns after the turn I clicked on Block.

If I put on gloves, it will go through 6 cycles of 2 turns, then a cooldown of only 1 after clicking block, then 7 cycles of 2, then a cooldown of 1, repeating.... Every once in a while I'll see a "3" flash before the cooldown drops to 2, without me needing to skip a turn. On the turns that start with a 1 cooldown, I'll sometimes see a 2 for a moment first.

(Block, skip turn, skip turn) x 6
Block, skip turn
(Block, skip turn, skip turn) x 7
Block, skip turn
(Block, skip turn, skip turn) x 6
Block, skip turn
(Block, skip turn, skip turn) x 7
Block, skip turn
etc.

I made sure nothing but the gloves changed this time: Fists of the Desert Scorpion (physspeed = 0.15)

With a set of gloves from Urthol, with a different speed, I'll sometimes have 2 turns left for cooldown, and when I skip a turn, the block ends.

Marson
Uruivellas
Posts: 645
Joined: Thu Jan 16, 2014 4:56 am

Re: Attack Speed

#13 Post by Marson »

I think I found it. In mod/class/Actor.lua, at line 4124

Code: Select all

		elseif ab.type[1]:find("^technique/") then
			self:useEnergy(game.energy_to_act * self:combatSpeed())
This uses the base attack speed that is affected by the gloves and doesn't get overridden by weapon speed the way a direct attack does. To test this, I used

Code: Select all

		elseif ab.type[1]:find("^technique/") then
			local combat
			if self:getInven(self.INVEN_MAINHAND) then
				local o = self:getInven(self.INVEN_MAINHAND)[1]
				combat = self:getObjectCombat(o, "mainhand")
			end
			self:useEnergy(game.energy_to_act * self:combatSpeed(combat))
which uses the attack speed of your main weapon, if you have one. For a full fix, it probably should check your offhand if you don't have anything in your main. This affects any "technique" active talent, not just block. It also looks like it is the same way in Gesture of Pain and for a resisted stun in Dirty Fighting. For a Block, I would put in a specific check for the shield's speed rather than weapon. I haven't looked through the other techniques yet to see how many are weapon-based. I don't think a gesture should slow down due to gloves if a kick doesn't due to boots. Am I guessing correctly that glove speed is meant specifically for unarmed attacks only?

Marson
Uruivellas
Posts: 645
Joined: Thu Jan 16, 2014 4:56 am

Re: Attack Speed

#14 Post by Marson »


darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Attack Speed

#15 Post by darkgod »

fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply