control/config.txt
lockMap iz_dun00
# 鎖定的地圖名 吉芬左gef_fild07 磨菇mjolnir_06
lockMap_x
# 鎖定的 X 座標
lockMap_y
# 鎖定的 Y 座標
lockMap_randX
# 鎖定的 X 座標的左右幾格範圍內
lockMap_randY
# 鎖定的 Y 座標的上下幾格範圍內
route_escape_unknownMap 1
route_escape_reachedNoPortal 1
route_escape_randomWalk 1
route_escape_shout
route_randomWalk 1
# 是否隨機走動: 0 = 不隨機走動; 1 = 地圖中隨機走動;
# 2 = 地圖中隨機走動但不去踩地圖內部的傳點(非通往其它地圖的傳點)
# 若使用瞬移找怪,則此選項要設為 0
route_randomWalk_inTown 0
# 是否要在城鎮內隨機走動
route_randomWalk_maxRouteTime 75
route_maxWarpFee
route_maxNpcTries 5
route_teleport 0
route_teleport_minDistance 150
route_teleport_maxTries 8
# 假如 route_teleport 設為 1,則 Kore 會嘗試瞬移到距離目的傳點
# route_teleport_minDistance 的距離內才用走的走向目的,但若瞬移次數
# 超過 route_teleport_maxTries 次,則 Kore 也會開始用走的
route_teleport_notInMaps
# 設定不用瞬移移動的地圖名(逗號分隔)
route_step 7
#走路速度,隨機走動,一次移動幾格距離.
######## 人工生命體的設定 ########
homunculus_attackAuto 2
homunculus_attackAuto_party 1
homunculus_attackAuto_notInTown 1
homunculus_attackAuto_onlyWhenSafe 0
homunculus_attackDistance 1.5
homunculus_attackMaxDistance 2.5
homunculus_attackMaxRouteTime 4
# 生命體離開主人去攻擊的最大時間
homunculus_attackMinPlayerDistance 2
# 生命體離開主人去攻擊的最大距離
homunculus_attackMinPortalDistance 5
# 生命體離開主人去攻擊時對於主人的路徑最大距離
homunculus_attackCanSnipe 0
homunculus_attackCheckLOS 0
homunculus_attackNoGiveup 0
homunculus_attackChangeTarget 1
homunculus_followDistanceMax 10
homunculus_followDistanceMin 3
homunculus_route_step 15
homunculus_tankMode 0
homunculus_tankModeTarget
homunculus_teleportAuto_hp 10
homunculus_teleportAuto_maxDmg 500
homunculus_teleportAuto_maxDmgInLock 0
homunculus_teleportAuto_deadly 1
homunculus_teleportAuto_unstuck 0
homunculus_teleportAuto_dropTarget 0
homunculus_teleportAuto_dropTargetKS 0
homunculus_teleportAuto_totalDmg 0
homunculus_teleportAuto_totalDmgInLock 0
# intimacyMax / Min sets a threshhold of when not to feed your homunculus
# If intimacy is HIGHER than the minimum or LOWER/EQUAL to the max, we wont feed.
homunculus_intimacyMax 999
homunculus_intimacyMin 911
# How long should we wait between feeding?
# default: random between 10 and 60 seconds
homunculus_hungerTimeoutMax 60
homunculus_hungerTimeoutMin 10
# Turn on/off homunculus autofeeding
homunculus_autoFeed 1
# 生命體是否自動餵食
# In Wich maps should we allow feeding? (leave empty for any map)
homunculus_autoFeedAllowedMaps
# 哪張地圖將餵食生命體(空白表示全部地圖)
# 以下兩項是生命體的餵食的滿足度設定(不建議改 因為11~24餵一次親密度+1)
homunculus_hungerMin 11
# 最小值
homunculus_hungerMax 24
# 最大值
# 以下區塊為自動施展攻擊性法術技能的設定
attackSkillSlot 手推車攻擊 {
lvl 3
dist 1
# 使用技能的距離(格)
maxCastTime 0
# 使用此技能所需最短時間(秒),施展成功仍需等到延遲時間結束,才會繼續AI動作
minCastTime 0
# 使用此技能所需最短時間(秒),施展成功仍需等到延遲時間結束,才會繼續AI動作
hp
sp > 10
homunculus_hp
homunculus_sp
homunculus_dead
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives > 2
# 被魔物圍攻的隻數
previousDamage
stopWhenHit 0
inLockOnly 0
notInTown 0
timeout 0
disabled 0
monsters
# 使用此技能對應之怪物名稱(空白=不限制),對應tables/monsters.txt,請打上怪物中文名稱並以逗號隔開
notMonsters
maxAttempts 0
maxUses 0
# 對同一怪物最多使用次數(0=不限制)
target_whenStatusActive
target_whenStatusInactive
target_deltaHp
inInventory
isSelfSkill 0
equip_topHead
equip_midHead
equip_lowHead
equip_leftHand
equip_rightHand
equip_leftAccessory
equip_rightAccessory
equip_robe
equip_armor
equip_shoes
equip_arrow
manualAI 0
}
attackSkillSlot 月光 {
lvl 5
#<等級>
dist 1.5
maxCastTime 0
minCastTime 0
hp
sp
homunculus_hp
homunculus_sp > 30%
homunculus_dead
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
previousDamage
stopWhenHit 0
inLockOnly 0
notInTown 0
timeout 0
disabled 0
monsters
notMonsters
maxAttempts 0
maxUses 2
target_whenStatusActive
target_whenStatusInactive
target_deltaHp
inInventory
isSelfSkill 0
equip_topHead
equip_midHead
equip_lowHead
equip_leftHand
equip_rightHand
equip_leftAccessory
equip_rightAccessory
equip_robe
equip_armor
equip_shoes
equip_arrow
manualAI 0
}
# 以下區塊為施展至自己身上的法術技能的設定
useSelf_skill 大聲吶喊 {
lvl 10
maxCastTime 3
minCastTime 2
hp > 10
sp > 25%
homunculus_hp
homunculus_sp
homunculus_dead
onAction
whenStatusActive
whenStatusInactive 大聲吶喊狀態
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
# 被攻擊時停止使用此技能(0=關、1=開)(吟唱時間較長的法術應該要設為1)
inLockOnly 0
# 只在鎖定地圖使用此技能(0=關、1=開)
notWhileSitting 1
# 蹲坐時停止使用此技能
notInTown 0
timeout 1
disabled 0
inInventory
manualAI 0
}
#useSelf_skill 復活生命體 {
hp > 80%
sp > 74
stopWhenHit 1
homunculus_dead 1
}
useSelf_item 經驗值倍增書 {
hp
sp
homunculus_hp
homunculus_sp
homunculus_dead
onAction
whenStatusActive
whenStatusInactive 經驗值倍增狀態
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
inLockOnly 1
notWhileSitting 0
notInTown 0
timeout 1800
disabled 0
inInventory
manualAI 0
}
# 以下區塊為施展至隊友身上的法術技能的設定
partySkill 藥水投擲 {
lvl 2
homunculus_hp < 40%
homunculus_target 飛里樂
timeout 2
inInventory 赤色藥水 > 0
}
# 以下區塊為使用在自己身上的物品的設定
useSelf_item 寵物飼料,魔物飼料,初學者專用藥水,肉,蘋果,蕃薯,牛奶,紅蘿蔔,黃色藥草 {
hp < 97%
sp
homunculus_hp
homunculus_sp
homunculus_dead
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
inLockOnly 0
notWhileSitting 0
notInTown 0
timeout 0.3
disabled 0
inInventory
manualAI 0
}
useSelf_item 白色藥水 {
hp < 55%
sp
homunculus_hp
homunculus_sp
homunculus_dead
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
inLockOnly 0
notWhileSitting 0
notInTown 0
timeout 0
disabled 0
inInventory
manualAI 0
}
useSelf_item 葡萄,草莓,檸檬 {
hp
sp < 60%
homunculus_hp
#這裡指的是人工生命體的hp
homunculus_sp
homunculus_dead
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
inLockOnly 1
notWhileSitting 0
notInTown 0
timeout 0.3
disabled 0
inInventory
manualAI 0
}
useSelf_item 覺醒藥水 {
hp 0
sp 0
homunculus_hp
#這裡指的是人工生命體的hp
homunculus_sp
homunculus_dead
onAction
whenStatusActive
whenStatusInactive 覺醒藥水狀態
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
inLockOnly 1
notWhileSitting 0
notInTown 0
timeout 5
disabled 0
inInventory
manualAI 0
}
######## 自動存倉/買物/賣物 ########
# 自動買物
buyAuto 加勒結晶 { #這裡可以不用設定,因我已先買了加勒結晶在倉庫,所以會開倉拿加勒
npc geffen_in 77 144
standpoint
distance 6
minAmount 10
maxAmount 120
}
sellAuto 1
# 是否開啟自動賣物功能
sellAuto_npc izlude 164 138
# 自動賣物的 NPC,例如 payon 159 96 吉芬geffen 196 111
sellAuto_standpoint
# 賣物時要站的位置座標
sellAuto_distance 5
# 賣物時要站在距離 NPC 多遠的位置
storageAuto 1
# 是否開啟自動存倉功能
storageAuto_npc izlu2dun 106 58
# 自動存倉的 NPC 夢城morocc 156 97 吉芬geffen 203 123
storageAuto_distance 5
# 自動存倉時要站在距離 NPC 多遠的位置
storageAuto_npc_type 3
# 與 NPC 對話的類型,1=c r1 n,2=c c r1 n,3=自訂,自訂對話命令串寫在下一個設定
storageAuto_npc_steps c r0 n
# 自訂與 NPC 對話命令串
storageAuto_password XXXXXX
# 開倉密碼,請直接輸入設定的數字密碼即可
storageAuto_keepOpen 0
storageAuto_useChatCommand
relogAfterStorage 0
# 自動存倉完成後是否要重登
# 以下為從倉庫自動補給的設定
getAuto 加勒結晶 {
minAmount 1
maxAmount 300
passive
}
items_control.txt
1請自行設定裝備不存倉及要賣的雜物如下
############################
# 全部賣掉 #
############################
鉗子 0 0 1
海螺 0 0 1
單細胞 0 0 1
雪勒結晶 0 0 1
昆蟲觸角 0 0 1
粘糊的蹼 0 0 1
狸貓娃娃 0 0 1
漁夫帽 [1] 0 0 1
毒魔菇芽孢 0 0 1
蝴蝶翅膀粉末 0 0 1
加勒結晶 300 1 0
macros
####餵食生命體########################
automacro feedpet2 {
console /飢餓:\s+(\d+)/i
exclusive 1
call {
if ($.lastMatch1 < 10) goto t1
if ($.lastMatch1 < 25) goto t2
stop
:t1
do homun feed
pause 1
do homun feed
stop
:t2
do homun feed
stop
}
}
#判斷值小於 10 時餵兩次 !
#判斷值小於 25 時餵一次 !