fix(fight): 战斗修改

This commit is contained in:
1
2025-11-11 05:54:24 +00:00
parent c6e0d84c1d
commit 65758c799e
44 changed files with 656 additions and 731 deletions

View File

@@ -20,7 +20,7 @@ type Effect39 struct {
node.EffectNode
}
func (e *Effect39) OnSkill(ctx input.Ctx) bool {
func (e *Effect39) OnSkill() bool {
if !e.Hit() {
return true
}
@@ -30,6 +30,6 @@ func (e *Effect39) OnSkill(ctx input.Ctx) bool {
return true
}
ctx.DelPP(e.SideEffectArgs[1])
e.Ctx().Opp.DelPP(e.SideEffectArgs[1])
return true
}