最新的消息、最深入的探討、最有價值的話題、最資深的多啦迷、最多原創作品、最具氣氛的討論區就是這裡! 歡迎來到多啦A夢綜合討論天地!
多啦A夢小知識: 間諜套裝

寵物AI區

這裡是一個多人線上遊戲-瑪奇ONLINE(mabinogi)的專屬討論區,本論壇有很多會員在玩此遊戲呢!
《瑪奇》是源自於北歐中古吟遊詩人所演奏的歌曲,整個遊戲故事背景以北歐凱斯特神話為軸心,讓玩家與遊戲裡的NPC展開一連串的冒險,玩家也可在遊戲中一步步創造屬於自己的幸福故事。

寵物AI區

未閱讀文章 #1樓, 由 野味大雄 » 2007-07-14, 週六 10:41 AM , 繁簡轉換:  

文章連結:
0.0.....
在巴哈看到有很多有趣的AI, 在這裡和大家分享0.0

大家有什麼有趣AI也要貼上來啊

自動冰反(http://www2.hkedcity.net/citizen_files/ ... ABI002.txt)
代碼: 選擇全部
<rules>
        <rule name="主動用冰矛攻擊">
                <conditions>
                        <condition name="skill_preparable" pet_skill="icebolt"/>
                </conditions>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="move_against" distance="600" run="true" timeout="2000"/>
                                <cmd name="stackmagic_attack" stack_magic="icebolt" charge="2" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="seek_target"/>
        </rule>
        <rule name="寵物被發現,冰矛">
                <conditions>
                        <condition name="target_distance" min_distance="100" max_distance="1500"/>
                </conditions>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="targeted" targeting_type="alert"/>
        </rule>
        <rule name="寵物被打飛,反擊">
                <conditions>
                        <condition name="target_distance" min_distance="100" max_distance="1500"/>
                </conditions>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="prepare_skill" pet_skill="counter" try_cnt="4" timeout="10000"/>
                                <cmd name="wait" min="8000" max="10000"/>
                        </sequence>
                </pattern>
                <event name="attacked" master_skill="all" down="true"/>
        </rule>
        <rule name="寵物被警戒.反擊">
                <conditions>
                        <condition name="target_distance" min_distance="100" max_distance="1500"/>
                </conditions>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="prepare_skill" pet_skill="counter" try_cnt="4" timeout="10000"/>
                                <cmd name="wait" min="8000" max="10000"/>
                        </sequence>
                </pattern>
                <event name="targeted" targeting_type="attack"/>
        </rule>
        <rule name="寵物發現敵人,冰矛">
                <conditions>
                        <condition name="target_distance" min_distance="100" max_distance="1500"/>
                </conditions>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="7000"/>
                        </sequence>
                </pattern>
                <event name="seek_target"/>
        </rule>
        <rule name="寵物被打退,反擊">
                <conditions>
                        <condition name="target_distance" min_distance="100" max_distance="1500"/>
                </conditions>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="prepare_skill" pet_skill="counter" try_cnt="4" timeout="10000"/>
                                <cmd name="wait" min="8000" max="10000"/>
                        </sequence>
                </pattern>
                <event name="attacked" master_skill="all" down="false"/>
        </rule>
        <rule name="冰矛打中後,反擊">
                <conditions>
                        <condition name="skill_preparable" pet_skill="icebolt"/>
                </conditions>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="prepare_skill" pet_skill="counter" try_cnt="4" timeout="10000"/>
                                <cmd name="wait" min="8000" max="10000"/>
                        </sequence>
                </pattern>
                <event name="now_targeting"/>
        </rule>
        <rule name="反擊後,冰矛">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="prepare_skill" pet_skill="icebolt" try_cnt="1" timeout="0"/>
                                <cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="attack" pet_attackable_skill="counter" down="true"/>
        </rule>
</rules>

  • 0
  • 1
  • -1
    no good
    2008-09-02, 週二 3:50 PM 1qaz
感謝大家7年來對叮噹小城的支持~希望小城能為你帶來美好的回憶
大雄的筆記本又來了0.0 http://blog.doracity.com
頭像
野味大雄
叮噹小城守護神 [最高榮譽]
叮噹小城守護神 [最高榮譽]
 
文章: 9858
註冊時間: 2003-12-05, 週五 4:27 PM
性別: 男
來自: 香港寶地上
稱號: 10歲打倒石石的
花名: 可愛的大雄
最愛: XBOX, 聊天, 看多啦A夢
狀態: 玩樂中
聲望值: 362
多啦神人多啦神人多啦神人多啦神人多啦神人多啦神人多啦神人多啦神人多啦神人多啦神人多啦神人多啦神人多啦神人多啦神人多啦神人

未閱讀文章 #2樓, 由 艾西斐爾 » 2007-07-14, 週六 11:02 AM , 繁簡轉換:  

文章連結:
我也自己找了些和弄了些@  @
以下的是冰反~
代碼: 選擇全部
<rules>
        <rule name="尋怪">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="cancel_skill"/>
                                <cmd name="prepare_skill" pet_skill="smash" try_cnt="0" timeout="5000"/>
                                <cmd name="process_skill" target="enemy" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="seek_target"/>
        </rule>
        <rule name="重冰">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="attack" pet_attackable_skill="smash" down="true"/>
        </rule>
        <rule name="冰反">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
                                <cmd name="wait" min="1000" max="5000"/>
                                <cmd name="process_skill" target="enemy" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="attack" pet_attackable_skill="icebolt" down="false"/>
        </rule>
        <rule name="反冰">
                <conditions>
                        <condition name="target_state" state="blowaway"/>
                </conditions>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="attack" pet_attackable_skill="counter" down="true"/>
        </rule>
        <rule name="受攻反">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
                                <cmd name="wait" min="1000" max="7000"/>
                                <cmd name="process_skill" target="enemy" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="attacked" master_skill="all" down="true"/>
        </rule>
        <rule name="被發現普">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="cancel_skill"/>
                                <cmd name="melee_attack" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="targeted" targeting_type="attack"/>
        </rule>
        <rule name="命令攻擊">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
                                <cmd name="wait" min="1000" max="10000"/>
                                <cmd name="process_skill" target="enemy" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="attack" pet_attackable_skill="basic" down="true"/>
        </rule>
</rules>


以下是火反
代碼: 選擇全部
<rules>
        <rule name="尋怪">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="cancel_skill"/>
                                <cmd name="prepare_skill" pet_skill="smash" try_cnt="0" timeout="5000"/>
                                <cmd name="process_skill" target="enemy" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="seek_target"/>
        </rule>
        <rule name="重反">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
                                <cmd name="wait" min="1000" max="7000"/>
                                <cmd name="process_skill" target="enemy" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="attack" pet_attackable_skill="smash" down="true"/>
        </rule>
        <rule name="火反">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
                                <cmd name="wait" min="1000" max="5000"/>
                                <cmd name="process_skill" target="enemy" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="attack" pet_attackable_skill="firebolt" down="false"/>
        </rule>
        <rule name="反火">
                <conditions>
                        <condition name="target_state" state="blowaway"/>
                </conditions>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="attack" pet_attackable_skill="counter" down="true"/>
        </rule>
        <rule name="受攻反">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
                                <cmd name="wait" min="1000" max="7000"/>
                                <cmd name="process_skill" target="enemy" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="attacked" master_skill="all" down="true"/>
        </rule>
        <rule name="被發現普">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="cancel_skill"/>
                                <cmd name="melee_attack" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="targeted" targeting_type="attack"/>
        </rule>
        <rule name="命令攻擊">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
                                <cmd name="wait" min="1000" max="10000"/>
                                <cmd name="process_skill" target="enemy" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="attack" pet_attackable_skill="basic" down="true"/>
        </rule>
</rules>


這個是人寵混戰

代碼: 選擇全部
<rules>
        <rule name="主人攻擊 寵物重擊普攻">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="prepare_skill" pet_skill="smash" try_cnt="1" timeout="9000"/>
                                <cmd name="process_skill" target="enemy" timeout="7000"/>
                                <cmd name="melee_attack" timeout="5000"/>
                                <cmd name="melee_attack" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="master_attack" master_skill="all"/>
        </rule>
        <rule name="被打反擊">
                <conditions>
                        <condition name="skill_preparable" pet_skill="counter"/>
                </conditions>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="wait" min="10000" max="10000"/>
                        </sequence>
                </pattern>
                <event name="attacked" master_skill="all" down="false"/>
        </rule>
        <rule name="被打倒反擊">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="9000"/>
                        </sequence>
                </pattern>
                <event name="attacked" master_skill="all" down="true"/>
        </rule>
        <rule name="主人被打寵重擊">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="prepare_skill" pet_skill="smash" try_cnt="0" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="master_attacked" master_skill="all" down="false"/>
        </rule>
        <rule name="主人被打倒 寵重擊">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="melee_attack" timeout="5000"/>
                                <cmd name="prepare_skill" pet_skill="smash" try_cnt="0" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="master_attacked" master_skill="all" down="true"/>
        </rule>
</rules>


以下是雷反
代碼: 選擇全部
<rules>
        <rule name="尋怪">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="cancel_skill"/>
                                <cmd name="prepare_skill" pet_skill="smash" try_cnt="0" timeout="5000"/>
                                <cmd name="process_skill" target="enemy" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="seek_target"/>
        </rule>
        <rule name="重雷">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="attack" pet_attackable_skill="smash" down="true"/>
        </rule>
        <rule name="雷反">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
                                <cmd name="wait" min="1000" max="5000"/>
                                <cmd name="process_skill" target="enemy" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="attack" pet_attackable_skill="lightningbolt" down="false"/>
        </rule>
        <rule name="反雷">
                <conditions>
                        <condition name="target_state" state="blowaway"/>
                </conditions>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="attack" pet_attackable_skill="counter" down="true"/>
        </rule>
        <rule name="受攻反">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
                                <cmd name="wait" min="1000" max="7000"/>
                                <cmd name="process_skill" target="enemy" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="attacked" master_skill="all" down="true"/>
        </rule>
        <rule name="被發現普">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="cancel_skill"/>
                                <cmd name="melee_attack" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="targeted" targeting_type="attack"/>
        </rule>
        <rule name="命令攻擊">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
                                <cmd name="wait" min="1000" max="10000"/>
                                <cmd name="process_skill" target="enemy" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="attack" pet_attackable_skill="basic" down="true"/>
        </rule>
</rules>


和雷狗的特別雷擊+火反
代碼: 選擇全部
<rules>
        <rule name="尋怪">
                <conditions>
                        <condition name="skill_preparable" pet_skill="thunder"/>
                </conditions>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="cancel_skill"/>
                                <cmd name="stack_skill" stack_magic="thunder" charge="5"/>
                                <cmd name="process_skill" target="enemy" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="attacked" master_skill="all" down="false"/>
        </rule>
        <rule name="火反">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
                                <cmd name="wait" min="1000" max="5000"/>
                                <cmd name="process_skill" target="enemy" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="attack" pet_attackable_skill="firebolt" down="false"/>
        </rule>
        <rule name="反火">
                <conditions>
                        <condition name="target_state" state="blowaway"/>
                </conditions>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="attack" pet_attackable_skill="counter" down="true"/>
        </rule>
        <rule name="受攻反">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
                                <cmd name="wait" min="1000" max="7000"/>
                                <cmd name="process_skill" target="enemy" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="attacked" master_skill="all" down="true"/>
        </rule>
        <rule name="被發現普">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="cancel_skill"/>
                                <cmd name="melee_attack" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="targeted" targeting_type="attack"/>
        </rule>
        <rule name="命令攻擊">
                <conditions/>
                <pattern>
                        <param_decl/>
                        <sequence>
                                <cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
                                <cmd name="wait" min="1000" max="10000"/>
                                <cmd name="process_skill" target="enemy" timeout="5000"/>
                        </sequence>
                </pattern>
                <event name="attack" pet_attackable_skill="basic" down="true"/>
        </rule>
</rules>
  • 0
  • 1
  • -1
    l,9
    2008-09-02, 週二 3:51 PM 1qaz
半只腳踏進潛水艇...
圖檔
頭像
艾西斐爾
叮噹小城超級高層[榮譽]
叮噹小城超級高層[榮譽]
 
文章: 1555
註冊時間: 2005-07-08, 週五 7:37 PM
性別: 秘密
來自: 工口村
稱號: 工口的
花名: 工口艾
最愛: 哈...
狀態: 潛水中
聲望值: 33
有名有氣有名有氣有名有氣有名有氣

未閱讀文章 #3樓, 由 野味大雄 » 2007-07-14, 週六 11:08 AM , 繁簡轉換:  

文章連結:
請關了HTML語法才發文, 否則看不到-3-
  • 0
  • 1
  • -1
    8l987
    2008-09-02, 週二 3:51 PM 1qaz
感謝大家7年來對叮噹小城的支持~希望小城能為你帶來美好的回憶
大雄的筆記本又來了0.0 http://blog.doracity.com
頭像
野味大雄
叮噹小城守護神 [最高榮譽]
叮噹小城守護神 [最高榮譽]
 
文章: 9858
註冊時間: 2003-12-05, 週五 4:27 PM
性別: 男
來自: 香港寶地上
稱號: 10歲打倒石石的
花名: 可愛的大雄
最愛: XBOX, 聊天, 看多啦A夢
狀態: 玩樂中
聲望值: 362
多啦神人多啦神人多啦神人多啦神人多啦神人多啦神人多啦神人多啦神人多啦神人多啦神人多啦神人多啦神人多啦神人多啦神人多啦神人

Re: 寵物AI區

未閱讀文章 #4樓, 由 宋磁磚 » 2008-05-06, 週二 9:28 PM , 繁簡轉換:  

文章連結:
0.0別罵我回舊文
我只是找到好AI在放上來0.0
以下是傳球AI0.0



























































































































  • 0
  • 0
宋磁磚
叮噹小城副城主
叮噹小城副城主
 
文章: 1371
註冊時間: 2007-06-06, 週三 8:53 PM
性別: 男
來自: 啥?
稱號: 怨念武士(?
花名: 宋磁磚
狀態: 潛水中
聲望值: 15
稍有作為稍有作為


回到 ☆瑪奇專區☆

誰在線上

註冊會員: Bing [Bot]

cron