File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed
internal/character/himeko Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change 88)
99
1010const (
11- ultimate = "himeko-ult"
12- ultEnergy = "himeko-ult-energy"
11+ ultimate = "himeko-ult"
12+ ultEnergy = "himeko-ult-energy"
13+ ultimateE6 = "himeko-ult-e6"
1314)
1415
1516func init () {
@@ -42,14 +43,22 @@ func (c *char) Ult(target key.TargetID, state info.ActionState) {
4243 // E6
4344 if c .info .Eidolon >= 6 {
4445 for i := 0 ; i < 2 ; i ++ {
45- c .engine .Retarget (info.Retarget {
46- Targets : c .engine .Enemies (),
47- Filter : func (target key.TargetID ) bool {
48- return true
49- },
46+ trg := c .engine .Retarget (info.Retarget {
47+ Targets : c .engine .Enemies (),
5048 Max : 1 ,
5149 IncludeLimbo : false ,
5250 })
51+
52+ c .engine .Attack (info.Attack {
53+ Key : ultimateE6 ,
54+ Targets : trg ,
55+ Source : c .id ,
56+ AttackType : model .AttackType_ULT ,
57+ DamageType : model .DamageType_FIRE ,
58+ BaseDamage : info.DamageMap {
59+ model .DamageFormula_BY_ATK : 0.4 * ult [c .info .UltLevelIndex ()],
60+ },
61+ })
5362 }
5463 }
5564
You can’t perform that action at this time.
0 commit comments