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

@@ -26,7 +26,7 @@ func init() {
}
func (e *Effect69) OnSkill(ctx input.Ctx) bool {
func (e *Effect69) OnSkill() bool {
t := &Effect69_sub{
EffectNode: node.EffectNode{},
@@ -34,7 +34,7 @@ func (e *Effect69) OnSkill(ctx input.Ctx) bool {
t.ID(e.ID() + int(input.EffectType.Sub)) //子效果ID
t.SetArgs(e.Input, e.SideEffectArgs...)
t.Duration(e.SideEffectArgs[0])
ctx.AddEffect(t)
e.Ctx().Opp.AddEffect(t)
return true
}