關於槍傭兵AI設定~ - 仙境傳說

By Regina
at 2009-04-24T13:40
at 2009-04-24T13:40
Table of Contents
※ 引述《clarinet0 (Elsa)》之銘言:
: 版上應該有很多人看過...有些玩家的槍傭兵對怪物放攻擊技能時完全無延遲~
: 跟機關槍掃射速度之快一樣的情形吧!(且不論是中型怪或是小型怪)
達成條件:
1.只用技能"不用普攻且不追敵"
2.修改傭兵AI(檔名:AI_M.lua,方法如下…)
function chase(__target__,__skillid__)
--跑出視線回傳-1,進入攻擊範圍回傳1,仍在追逐回傳0
*中間省略*
local x, y = GetV (V_POSITION,__target__)
local mx,my=GetV (V_POSITION,MyID)
if(GetDistance(x,y,mx,my)>=15)then
x=math.floor(x+mx)/2
y=math.floor(y+my)/2
end
Move (MyID,x,y) <--刪除本行
return 1 <--重點在此
end
3.請配合槍傭攻距修改設定(怪物會瞬移者,請將攻距改短)
P.S.距離怪物太遠時傭兵無法攻擊,請手動移動傭兵
--
: 版上應該有很多人看過...有些玩家的槍傭兵對怪物放攻擊技能時完全無延遲~
: 跟機關槍掃射速度之快一樣的情形吧!(且不論是中型怪或是小型怪)
達成條件:
1.只用技能"不用普攻且不追敵"
2.修改傭兵AI(檔名:AI_M.lua,方法如下…)
function chase(__target__,__skillid__)
--跑出視線回傳-1,進入攻擊範圍回傳1,仍在追逐回傳0
*中間省略*
local x, y = GetV (V_POSITION,__target__)
local mx,my=GetV (V_POSITION,MyID)
if(GetDistance(x,y,mx,my)>=15)then
x=math.floor(x+mx)/2
y=math.floor(y+my)/2
end
Move (MyID,x,y) <--刪除本行
return 1 <--重點在此
end
3.請配合槍傭攻距修改設定(怪物會瞬移者,請將攻距改短)
P.S.距離怪物太遠時傭兵無法攻擊,請手動移動傭兵
--
Tags:
仙境傳說
All Comments

By William
at 2009-04-25T06:56
at 2009-04-25T06:56

By Quintina
at 2009-04-29T04:19
at 2009-04-29T04:19

By Callum
at 2009-05-03T07:22
at 2009-05-03T07:22

By Ina
at 2009-05-04T16:09
at 2009-05-04T16:09

By Dorothy
at 2009-05-05T16:25
at 2009-05-05T16:25

By Una
at 2009-05-07T02:46
at 2009-05-07T02:46

By Linda
at 2009-05-12T00:24
at 2009-05-12T00:24

By Daph Bay
at 2009-05-13T15:00
at 2009-05-13T15:00

By Ula
at 2009-05-15T00:00
at 2009-05-15T00:00

By Carolina Franco
at 2009-05-17T22:05
at 2009-05-17T22:05

By Lily
at 2009-05-20T14:53
at 2009-05-20T14:53

By Madame
at 2009-05-24T23:23
at 2009-05-24T23:23

By Dinah
at 2009-05-28T07:53
at 2009-05-28T07:53

By Michael
at 2009-05-28T23:07
at 2009-05-28T23:07

By Liam
at 2009-05-31T19:03
at 2009-05-31T19:03

By Ina
at 2009-06-05T10:27
at 2009-06-05T10:27

By Irma
at 2009-06-08T04:50
at 2009-06-08T04:50
Related Posts
請問關於任務獎勵經驗值

By Audriana
at 2009-04-23T16:29
at 2009-04-23T16:29
我會常當機QQ

By Faithe
at 2009-04-23T11:29
at 2009-04-23T11:29
關於計算機的問題

By Rae
at 2009-04-23T09:45
at 2009-04-23T09:45
關於槍傭兵AI設定~

By Thomas
at 2009-04-23T03:21
at 2009-04-23T03:21
odin局勢

By Bethany
at 2009-04-23T00:59
at 2009-04-23T00:59