This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user