法阵跟随代码如下 //在swordman_common.nut下添加 如果没有这个文件 就放在 sqr/common.nut 里面 function Frost_Array(obj) { if(!obj) return; local x = obj.getXPos(); local y = obj.getYPos(); local types = [20011, 20012, 20013, 20040, 20062]; for(local i=0; i<types.len(); ++i) { local type = types[i]; local num = obj.getMyPassiveObjectCount(type); for(local j=0; j<num; ++j) { local object = obj.getMyPassiveObject(type, j); if(!object) continue; local z = object.getZPos(); object.setCurrentPos(x, y, z); object.setMapFollowType(1); object.setMapFollowParent(obj); } } } //找到下面这个函数,添加Frost_Array(obj); function procAppend_Swordman(obj) { if (!obj) return 0; Frost_Array(obj);