update SwingTimer

Offhand is still not working because we don't have the CLEU arg isOffHand, that came with Cata
This commit is contained in:
NoM0Re
2025-02-17 00:34:30 +01:00
parent 02fe8164f6
commit 86b49b4010
3 changed files with 152 additions and 91 deletions
+4 -3
View File
@@ -4434,9 +4434,6 @@ Private.event_prototypes = {
type = "unit",
events = {},
internal_events = {
"SWING_TIMER_START",
"SWING_TIMER_CHANGE",
"SWING_TIMER_END",
"SWING_TIMER_UPDATE"
},
force_events = "SWING_TIMER_UPDATE",
@@ -4532,6 +4529,10 @@ Private.event_prototypes = {
{
hidden = true,
test = "(inverse and duration == 0) or (not inverse and duration > 0)"
},
{
hidden = true,
test = "remainingCheck"
}
},
automaticrequired = true,