refactor(fight/effect): 重构SetArgs方法为可变参数形式,优化Effect62参数设置逻辑并同步更新Effect接口定义

This commit is contained in:
1
2025-09-23 23:05:23 +00:00
parent d1e4db92e8
commit 2855c3e773
3 changed files with 10 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ func (this *EffectNode) Duration(t ...int) int {
}
// 设置参数,加上设置输入源
func (this *EffectNode) SetArgs(args []int) {
func (this *EffectNode) SetArgs(args ...int) {
this.SideEffectArgs = args