Skip to content

Commit

Permalink
Merge pull request #1145 from k0l11/shigure-fix
Browse files Browse the repository at this point in the history
fix toukabou shigure passive applying to hit that triggers it
  • Loading branch information
skippi authored Dec 15, 2022
2 parents 70acf9f + b9966c8 commit f313aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/weapons/sword/toukaboushigure/toukaboushigure.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func NewWeapon(c *core.Core, char *character.CharWrapper, p weapon.WeaponProfile
},
})

c.Events.Subscribe(event.OnEnemyHit, func(args ...interface{}) bool {
c.Events.Subscribe(event.OnEnemyDamage, func(args ...interface{}) bool {
e, ok := args[0].(*enemy.Enemy)
atk := args[1].(*combat.AttackEvent)
if !ok {
Expand Down

0 comments on commit f313aba

Please sign in to comment.