Weapon Mechanical Behavioural bug (1H Hammer & 1H Mace)

A while ago I noticed that this weapon had a weird issue with charged attacks after the third light attack. Knowing how to read the decompiled weapon templates I decided to investigate.

allowed_chain_actions = {
{
sub_action = “light_attack_down”,
start_time = 0,
action = “action_one”,
end_time = 0.8,
input = “action_one_release”
},
{
sub_action = “heavy_attack_right”,
start_time = 0.5,
action = “action_one”,
input = “action_one_release”
},

This snippet is of the default_last action template for 1h_hammers.lua

Light3 (light_attack_last) Leads into this action template. 0.5 seconds is the standard release time for heavy attacks for this particular weapon; however, the chain action above it takes precidence and eats release times between 0.5 - 0.8.

Paraphrased; the action window for light attacks is much larger than intended, and is delaying heavy attacks. This is a small bug with a simple fix.

I have confirmed that this code accurately represents its behaviour in game by testing with a precisely timed autohotkey script.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.