Skip to content

Commit

Permalink
Kuki feature update (#625)
Browse files Browse the repository at this point in the history
C4 now generates particles on each proc with a %45 chance of doing so.

Additionally the ICD tag changed to none, since it isn't shared with the skill
  • Loading branch information
IvanHdzF authored Jul 11, 2022
1 parent 8d0b7e6 commit 83e7592
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion internal/characters/kuki/cons.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,19 @@ func (c *char) c4() {
ActorIndex: c.Index,
Abil: "C4 proc",
AttackTag: core.AttackTagElementalArt,
ICDTag: core.ICDTagElementalArt,
ICDTag: core.ICDTagNone,
ICDGroup: core.ICDGroupDefault,
Element: core.Electro,
Durability: 25,
Mult: 0,
FlatDmg: c.MaxHP() * 0.097,
}

//Particle check is 45% for particle
c.Core.Combat.QueueAttack(ai, core.NewDefCircHit(2, false, core.TargettableEnemy), 5, 5)
if c.Core.Rand.Float64() < .45 {
c.QueueParticle("Kuki", 1, core.Electro, 100) // TODO: idk the particle timing yet fml (or probability)
}
c.c4ICD = c.Core.F + 300 //5 sec icd
return false
}, "kuki-c4")
Expand Down

0 comments on commit 83e7592

Please sign in to comment.