77 "github.com/genshinsim/gcsim/pkg/core/attributes"
88 "github.com/genshinsim/gcsim/pkg/core/combat"
99 "github.com/genshinsim/gcsim/pkg/core/event"
10+ "github.com/genshinsim/gcsim/pkg/core/glog"
1011 "github.com/genshinsim/gcsim/pkg/core/keys"
1112 "github.com/genshinsim/gcsim/pkg/core/player/artifact"
1213 "github.com/genshinsim/gcsim/pkg/core/player/character"
@@ -19,7 +20,6 @@ func init() {
1920
2021type Set struct {
2122 stacks int
22- icd int
2323 buff []float64
2424 Index int
2525}
@@ -35,7 +35,7 @@ func (s *Set) updateBuff() {
3535 s .buff [attributes .ATKP ] = 0.09 * float64 (s .stacks )
3636}
3737
38- const pf4key = "paleflame -4pc"
38+ const pf4key = "pf -4pc"
3939
4040func NewSet (c * core.Core , char * character.CharWrapper , count int , param map [string ]int ) (artifact.Set , error ) {
4141 s := Set {}
@@ -77,9 +77,12 @@ func NewSet(c *core.Core, char *character.CharWrapper, count int, param map[stri
7777 }
7878 s .updateBuff ()
7979
80+ c .Log .NewEvent ("paleflame gained stack" , glog .LogArtifactEvent , char .Index ).
81+ Write ("stacks" , s .stacks )
82+
8083 char .AddStatus (icdKey , icd , true )
8184 char .AddStatMod (character.StatMod {
82- Base : modifier .NewBaseWithHitlag ("pf-4pc" , 420 ),
85+ Base : modifier .NewBaseWithHitlag (pf4key , 420 ),
8386 AffectedStat : attributes .NoStat ,
8487 Amount : func () ([]float64 , bool ) {
8588 return s .buff , true
0 commit comments