没遇到这个问题,大神反正已经star了我的图,可以看下。 忽略掉nodejs的部分(主要是处理物编数据),剩下的是纯vjass/zinc。 jasshelper的原理是处理地图里面自带的war3map.j代码,然后编译成JASS 原文: The basic command line syntax is: jasshelper.exe <path_to_common.j> <path_to_blizzard.j> <path_to_map.w3x> This will make jasshelper to process the source map, and update the map with a new compiled script. You can extract common.j and blizzard.j from the scripts folder in war3patch.mpq. 所以一般如果脚本外置的话,在执行 [cli]jasshelper.exe 之前,最好复制一份地图出来,这样原图里面的 //! import 就不会被替换成编译后的JASS。