Skip to content

Commit 7061059

Browse files
authored
add character log when mavuika consumes fighting spirit (#2438)
1 parent 1302871 commit 7061059

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

internal/characters/mavuika/burst.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import (
88
"github.com/genshinsim/gcsim/pkg/core/combat"
99
"github.com/genshinsim/gcsim/pkg/core/event"
1010
"github.com/genshinsim/gcsim/pkg/core/geometry"
11+
"github.com/genshinsim/gcsim/pkg/core/glog"
1112
"github.com/genshinsim/gcsim/pkg/enemy"
1213
)
1314

@@ -41,6 +42,8 @@ func init() {
4142

4243
func (c *char) Burst(p map[string]int) (action.Info, error) {
4344
c.burstStacks = c.fightingSpirit
45+
c.Core.Log.NewEvent("fighting spirit consumed", glog.LogCharacterEvent, c.Index).
46+
Write("amount", c.fightingSpirit)
4447
c.fightingSpirit = 0
4548
c.enterBike()
4649
c.QueueCharTask(func() {

0 commit comments

Comments
 (0)