Skip to content

Commit a6fc52f

Browse files
committed
fix pyro traveler
1 parent 07603a6 commit a6fc52f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • internal/characters/traveler/common/pyro

internal/characters/traveler/common/pyro/asc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package pyro
22

33
import (
4-
"github.com/genshinsim/gcsim/pkg/core/combat"
54
"github.com/genshinsim/gcsim/pkg/core/event"
5+
"github.com/genshinsim/gcsim/pkg/model"
66
)
77

88
const a4OnReactICD = "travelerpyro-a4-icd"
@@ -13,7 +13,7 @@ func (c *Traveler) a4Init() {
1313
}
1414
fReactionHook := func(args ...interface{}) bool {
1515
// Attack must be from active character
16-
atk := args[1].(*combat.AttackEvent)
16+
atk := args[1].(*model.AttackEvent)
1717
if atk.Info.ActorIndex != c.Core.Player.Active() {
1818
return false
1919
}

0 commit comments

Comments
 (0)