This commit is contained in:
@@ -248,15 +248,6 @@ func (f *FightC) enterturn(firstAttack, secondAttack *action.SelectSkillAction)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if defender.CurrentPet.Info.Hp > 0 {
|
|
||||||
//技能使用后
|
|
||||||
defender.Exec(func(effect input.Effect) bool {
|
|
||||||
effect.Ctx().SkillEntity = currentSkill
|
|
||||||
effect.Skill_Use_ex()
|
|
||||||
return true
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
if defender.CurrentPet.Info.Hp <= 0 && attacker.CurrentPet.Info.Hp <= 0 { //先手方死亡,触发反同归于尽
|
if defender.CurrentPet.Info.Hp <= 0 && attacker.CurrentPet.Info.Hp <= 0 { //先手方死亡,触发反同归于尽
|
||||||
attacker.CurrentPet.Info.Hp = 1
|
attacker.CurrentPet.Info.Hp = 1
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user