以下我還沒測試,要的自己測,希望成功的可以跟我說一聲,感謝!!!


 


 


教學一


首先新增 openkore\tables\twRO/statusnametable 內的狀態如下

EFST_WEAPONBLOCKING 武器抵禦狀態

config 只設定

useSelf_skill 武器防禦 {
        lvl 1
        maxCastTime 0
        minCastTime 0
        hp
        sp > 60%
        homunculus_hp
        homunculus_sp
        homunculus_dead
        onAction
        whenStatusActive
        whenStatusInactive 武器抵禦狀態
        whenFollowing
        spirit
        aggressives
        monsters
        notMonsters 
        stopWhenHit 1
        inLockOnly 1
        notWhileSitting 0
        notInTown 0
        timeout
        disabled 0
        inInventory
        manualAI 0
}

再來巨集部份

automacro counterslash {
         console /您 使用 武器防禦/
         aggressives > 2


#大於多少支才放,> 2 就是被3支一起打才會放
         sp > 10%
         status 武器抵禦狀態
         call {
         do sm 2029 a $.lastMatch2
         release all
        }
}

我把它改成被3支怪圍才放



 


若常被沉默可以設定如下:


試試看,我沒試過唷

automacro counterslash {
         console /您 使用 武器防禦/
         aggressives > 2
         sp > 10%
         status 武器抵禦狀態
         status not 沉默狀態
         call {
         do sm 2029 a $.lastMatch2
         release all
        }
}


 


若不能用折需要看


黑窗(外掛)視窗可以輸入skills,看出現的是不是"武器防禦"


console 接法是要跟黑窗一樣字母哦!!

你刺客武器防禦狀態時候是,

/You ues 武器防禦 on yourself/
或?
/You uesWeapon Blocking on yourself/
一個字母錯誤也不會接法!!


 


 


教學二



useSelf_skill 武器抵禦 {
lvl 5
whenStatusInactive 武器抵禦狀態
}


attackComboSlot 反擊斬 {
lv 5
target_whenStatusActive 武器抵禦狀態
}



教學三



attackAuto 2
attackUseWeapon 0
attackAuto_inLockOnly 0
attackDistance 1.5
attackMaxDistance 2.5
attackDistanceAuto 0
attackMaxRouteDistance 16
attackMaxRouteTime 8
attackMinPlayerDistance 8
attackMinPortalDistance 4
attackAuto_onlyWhenSafe 0
attackAuto_followTarget 0
aggressiveAntiKS 1
itemsTakeAuto 1
itemsGatherAuto 1
route_randomWalk 1
route_randomWalk_maxRouteTime 8
route_step 8
useSelf_skill 武器抵禦 {
whenStatusInactive 武器抵禦狀態
notInTown 1
}
attackSkillSlot 反擊斬 {
dist 1
whenStatusActive 武器抵禦狀態
notInTown 1
timeout 1.5
}
dcOnDeath -1


 


 


測試半成功,


為什麼說半成功,因為有時會用,有時又不會用


首先一樣的先到tables/twRO/statusnametable.txt


EFST_WEAPONBLOCKING 武器抵禦狀態


 


control/config.txt


useSelf_skill 武器防禦 {
 aggressives > 0
 sp > 40%
 stopWhenHit 0
        # 是否被攻擊時停止使用
 inLockOnly 1
        # 是否只在鎖定地圖使用
 notWhileSitting 1
        # 是否不在坐下時使用
 whenStatusInactive 武器防禦狀態,動作延遲,武器抵禦狀態
}


 


control/macros.txt


automacro counterslash {
        console /您 使用 武器防禦/
        aggressives > 1
        call 反擊斬
}


macro 反擊斬 {
        do sm 2029 a $.lastMonster


 



automacro counterslash {
        console /您 使用 武器防禦/
        #aggressives > 1
        call 反擊斬
}


macro 反擊斬 {
        do sm 2029 a $.lastMonster




 


 


或是巨集裡改


automacro counterslash {
         console /您 使用 武器防禦/
         #aggressives > 1
         sp > 10%
         status 武器抵禦狀態
         call {
         do sm 2029 a $.lastMonster
         #do sm 2029 a $.lastMatch2
         release all
        }
}


#可以拿掉,不過因為會延遲2秒的關係,有時會使用不成功,也就和上面同個意思


以下圖,是以上巨集測試結果



 


 


以下也可以成功,可以將#拿掉,我的圖片是測試是有加上#的,如下


automacro counterslash {
         console /您 使用 武器防禦/
         #aggressives > 1    #圍毆數量
        notMonsters 鐘怪,邪惡箱,飛行魔書,鐘塔守護者    #(針對那些怪不使用)         sp
         status 武器抵禦狀態
         call {
         do ss 2029 a $.lastMatch2
         release all
        }
}



 

arrow
arrow
    全站熱搜

    aaa1314 發表在 痞客邦 留言(0) 人氣()