- UID
- 19275
- 帖子
- 5392
- 精华
- 0
- 威望
- 1
- 阅读权限
- 100
- 性别
- 女
- 来自
- 最后的伊甸园
- 注册时间
- 2003-12-7
|
8#
发表于 2006-6-14 17:16
| 只看该作者
那就不清楚了 2个AI这里一改 LIF和羊就主动了 给了10几个人都正常 你可能没改对吧...
USER_AI里AI改 这个
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) then
result = GetMyEnemyB (myid)
elseif (type == FILIR or type == FILIR_H or type == VANILMIRTH or type == VANILMIRTH_H) then
result = GetMyEnemyA (myid)
end
return result
end
AI 里 AI改这个就可以主动了
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 = GetMyEnemyB (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 = GetMyEnemyA (myid)
end
return result
end
[ 本帖最后由 AIR 于 2006-6-14 17:18 编辑 ] |
|