Skip to content

Commit 1302871

Browse files
authored
fix ayato c6 icd and prevent overwriting element (#2439)
1 parent 952ddb7 commit 1302871

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

internal/characters/ayato/ayato.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@ func (c *char) Snapshot(ai *combat.AttackInfo) combat.Snapshot {
8787
default:
8888
return ds
8989
}
90+
ai.Element = attributes.Hydro
9091
// namisen doesn't affect c6
9192
if ai.Abil == c6Abil {
9293
return ds
9394
}
94-
ai.Element = attributes.Hydro
9595
// add namisen stack
9696
flatdmg := c.MaxHP() * skillpp[c.TalentLvlSkill()] * float64(c.stacks)
9797
ai.FlatDmg += flatdmg

internal/characters/ayato/cons.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func (c *char) makeC6CB() combat.AttackCBFunc {
7474
Abil: c6Abil,
7575
ActorIndex: c.Index,
7676
AttackTag: attacks.AttackTagNormal,
77-
ICDTag: attacks.ICDTagNormalAttack,
77+
ICDTag: attacks.ICDTagNone,
7878
ICDGroup: attacks.ICDGroupDefault,
7979
StrikeType: attacks.StrikeTypeSlash,
8080
Element: attributes.Hydro,

0 commit comments

Comments
 (0)