- UID
- 425675
- 帖子
- 8160
- 精华
- 3
- 威望
- 129
- 阅读权限
- 101
- 来自
- 被遗忘的国度
- 注册时间
- 2007-5-28
|
2#
发表于 2011-1-19 13:19
| 只看该作者
用文本文件打开RO\AI目录下AI.LUA
输入关键字 function GetMyEnemy (myid)
找到以下段落
function GetMyEnemy (myid)
local result = 0
local type = GetV (V_HOMUNTYPE,myid)
if (type == LIF or type == LIF_H or type == AMISTR or type == AMISTR_H or type == LIF2 or type == LIF_H2 or type == AMISTR2 or type == AMISTR_H2) then
result = GetMyEnemyA (myid)
elseif (type == FILIR or type == FILIR_H or type == VANILMIRTH or type == VANILMIRTH_H or type == FILIR2 or type == FILIR_H2 or type == VANILMIRTH2 or type == VANILMIRTH_H2) then
result = GetMyEnemyB (myid)
end
return result
end
把以上段落中红色的A改成B。保存文件。重新登陆游戏。
[ 本帖最后由 minos 于 2011-1-19 13:20 编辑 ] |
|