refactor(fight/effect): 重构SetArgs方法为可变参数形式,优化Effect62参数设置逻辑并同步更新Effect接口定义
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user