fix(fight): 修复空变更提交问题

This commit is contained in:
1
2025-11-12 13:44:21 +00:00
parent 0b5cfac0b2
commit 6c98a678ff
13 changed files with 57 additions and 52 deletions

View File

@@ -28,7 +28,7 @@ func (e *Effect43) OnSkill() bool {
return true
}
e.Input.Heal(&action.SelectSkillAction{}, decimal.NewFromInt(int64(e.Input.MaxHp)).Div(decimal.NewFromInt(int64(e.SideEffectArgs[0]))))
e.Ctx().Our.Heal(e.Ctx().Our, &action.SelectSkillAction{}, decimal.NewFromInt(int64(e.Ctx().Our.MaxHp)).Div(decimal.NewFromInt(int64(e.SideEffectArgs[0]))))
return true
}