diff --git a/logic/service/fight/fightc.go b/logic/service/fight/fightc.go index 9607e9bf4..d53e838e0 100644 --- a/logic/service/fight/fightc.go +++ b/logic/service/fight/fightc.go @@ -286,9 +286,11 @@ func (f *FightC) processSkillAttack(attacker, defender *input.Input, a *action.S }) attacker.DamageZone.Damage = attacker.CalculatePower(defender, a.SkillEntity) //睡眠受击消除 - t := defender.GetEffect(input.EffectType.Status, int(info.PetStatus.Sleep)) - if t != nil { - t.NotALive() + if a.SkillEntity.Category() != info.Category.STATUS { + t := defender.GetEffect(input.EffectType.Status, int(info.PetStatus.Sleep)) + if t != nil { + t.NotALive() + } } if attacker.AttackValue.IsCritical == 1 {