This commit is contained in:
2025-10-11 01:01:36 +08:00
parent dbf326e751
commit b258a81bb8
4 changed files with 20 additions and 13 deletions

View File

@@ -58,8 +58,10 @@ func (e *Effect10) OnHit(opp *input.Input, skill *info.SkillEntity) {
t1 := e.Input.FightC.GetRand().Int31n(3)
eff := input.Geteffect(input.EffectType.Status, int(e.Status))
eff.Effect.Duration(int(t1 + 1))
e.Input.AddEffect(eff)
if eff.ID != 0 {
eff.Effect.Duration(int(t1 + 1))
e.Input.AddEffect(eff)
}
}
}