diff --git a/internal/characters/hutao/abil.go b/internal/characters/hutao/abil.go index 95d412b5b..dedf76f31 100644 --- a/internal/characters/hutao/abil.go +++ b/internal/characters/hutao/abil.go @@ -140,6 +140,7 @@ func (c *char) Skill(p map[string]int) (int, int) { f, a := c.ActionFrames(core.ActionSkill, p) c.Core.Status.AddStatus("paramita", 540+f) //to account for animation + c.AddTask(c.a2, "hutao-a2", 540+f) c.Core.Log.NewEvent("Paramita acivated", core.LogCharacterEvent, c.Index, "expiry", c.Core.F+540+f) //figure out atk buff c.ppBonus = ppatk[c.TalentLvlSkill()] * c.MaxHP() diff --git a/internal/characters/hutao/hutao.go b/internal/characters/hutao/hutao.go index a253d32db..03ddac81b 100644 --- a/internal/characters/hutao/hutao.go +++ b/internal/characters/hutao/hutao.go @@ -70,6 +70,24 @@ func (c *char) ActionStam(a core.ActionType, p map[string]int) float64 { } +func (c *char) a2() { + m := make([]float64, core.EndStatType) + m[core.CR] = 0.12 + for i, char := range c.Core.Chars { + //does not affect hutao + if c.Index == i { + continue + } + char.AddMod(core.CharStatMod{ + Key: "hutao-a1", + Expiry: c.Core.F + 480, + Amount: func() ([]float64, bool) { + return m, true + }, + }) + } +} + func (c *char) a4() { m := make([]float64, core.EndStatType) m[core.PyroP] = 0.33