This commit is contained in:
@@ -58,7 +58,7 @@ func GeteffectIDs(etype EnumEffectType) []uint32 {
|
||||
}
|
||||
|
||||
// 这里的catchtime为0,取出来之后如果是魂印,要重新赋值
|
||||
func Geteffect[T int | byte | uint16](etype EnumEffectType, id T) Effect {
|
||||
func geteffect[T int | byte | uint16](etype EnumEffectType, id T) Effect {
|
||||
pr := EffectIDCombiner{}
|
||||
pr.Combine(etype, 0, gconv.Uint16(id))
|
||||
|
||||
@@ -81,7 +81,7 @@ func Geteffect[T int | byte | uint16](etype EnumEffectType, id T) Effect {
|
||||
return nil
|
||||
}
|
||||
func (our *Input) InitEffect(etype EnumEffectType, id int) Effect {
|
||||
ret := Geteffect(etype, id)
|
||||
ret := geteffect(etype, id)
|
||||
ret.SetArgs(our) //输入参数是对方
|
||||
return ret
|
||||
|
||||
|
||||
Reference in New Issue
Block a user