1
Some checks failed
ci/woodpecker/push/my-first-workflow Pipeline failed

This commit is contained in:
昔念
2026-04-23 23:15:35 +08:00
parent 1f1fbd09d4
commit c4b5748e5c

View File

@@ -52,14 +52,9 @@ func (e *StatusSleep) DamageSubEx(zone *info.DamageZone) bool {
return true
}
func (e *StatusSleep) ActionStart(attacker, defender *action.SelectSkillAction) bool {
return e.StatusCannotAct.ActionStart(attacker, defender)
}
func (e *StatusSleep) Skill_Use_ex() bool {
if e.Duration() <= 0 && e.Ctx().SkillEntity != nil && e.Ctx().Category() != info.Category.STATUS {
if e.Ctx().SkillEntity != nil && e.Ctx().Category() != info.Category.STATUS {
e.Alive(false)
}