buff相關 暗黑地牢代碼大全 極黑地牢全代碼修改詳解

相關

buff相關 暗黑地牢代碼大全 極黑地牢全代碼修改詳解

文件 shared/buffs/

buff是effect、技能和飾品的基礎,在遊戲中起到改變數值的效果。遊戲中的一些效果有上下限,可以在上面說到的rule文件裏查找修改

標準格式

{

"id" : "名稱",

"stat_type" : "效果類型",

"stat_sub_type" : "效果子類型",

"amount" : 改變數值,

"duration_type" : "持續類型",

"duration" : 持續時間, (這兩行只有特殊持續buff纔有)

"remove_if_not_active" : false,

"rule_type" : "觸發條件",

"is_false_rule": false, (觸發條件是否相反)

"rule_data" : {

"float" : 觸發數值,

"string" : "觸發補充"

},

"is_clear_debuff_valid": false (是否可以清除,可以省略)

},

把"is_false_rule"改爲”true”就是相反的觸發條件

示例 美德概率增加500%

{

"id" : "ha_ha_ha",

"stat_type" : "resolve_check_percent",

"stat_sub_type" : "",

"amount" : 5,

"remove_if_not_active" : false,

"rule_type" : "always",

"is_false_rule" : false,

"rule_data" : {

"float" : 0,

"string" : ""

}

},

6.1效果類型一覽

hp_heal_amount 治療恢復

hp_heal_percent治療技能

hp_heal_received_percent獲得治療

combat_stat_multiply(max_hp血量damage_low最低傷害damage_high最高傷害)

combat_stat_add(crit_chance暴擊attack_rating命中defense_rating閃避protection_rating防禦speed_rating速度)

resistance(stun眩暈抗move位移抗poison腐蝕抗bleed流血抗disease疾病抗debuff減益抗death_blow死門抗trap陷阱抗)

poison_chance腐蝕技能

bleed_chance流血技能

stress_dmg_percent施加壓力

stress_dmg_received_percent受到壓力

stress_heal_percent減壓技能

stress_heal_received_percent受到減壓

party_surprise_chance小隊被嚇

monsters_surprise_chance敵人被嚇

ambush_chance伏擊

scouting_chance偵察

starving_damage_percent飢餓傷害

upgrade_discount(armour護甲折扣weapon武器折扣combat_skill技能折扣camping_skill紮營折扣)

damage_received_percent受到傷害

debuff_chance減益技能

resolve_check_percent美德

stun_chance眩暈技能

move_chance位移技能

remove_negative_quirk_chance移除負面怪癖

food_consumption_percent食物消耗

resolve_xp_bonus_percent獲得經驗

activity_side_effect_chance城鎮活動額外效果(add_currency 獲得金錢 remove_currency 失去金錢 add_trinket 獲得飾品 remove_trinket 失去飾品 activity_lock 行動鎖定 )

vampire_evolution_duration 延長猩紅詛咒渴血狀態

quirk_evolution_death_immune 免疫因猩紅詛咒而死亡

disable_combat_skill_attribute 技能無效( heal治療 buff增益 debuff減益 bleed流血 poison腐蝕 stun眩暈 tag標記 stress壓力 move位移 disease疾病 guard守護)

guard_blocked 無法被守護

tag_blocked 無法被標記

ignore_protection 穿甲

crit_received_chance 被暴擊機率

stress_on_miss 攻擊未擊中壓力

stress_from_idle_in_town 城鎮閒置一週壓力

shard_reward_percent 給予的碎片

shard_consume_percent 碎片戰利品

damage_reflect_percent 傷害反彈

ignore_stealth 無視潛行

random_target_attack_chance 隨機目標機率

transfer_debuff_from_attacker_chance 受到攻擊時吸收減益效果的機率

6.2觸發條件一覽

always總是觸發

skill 特定技能 觸發補充:技能名

riposte 反擊時

rangedonly 遠程技能

meleeonly 近戰技能

actorStatus 敵人狀態 觸發補充:負面狀態poisoned/bleeding/stunned/tagged

monsterType 敵人種類 觸發補充:種族類型unholy/man/beast/eldritch/vampire/corpse

monsterSize敵人體型 觸發數值:所佔格數

firstroundonly 第一回合

in_camp 紮營狀態

in_dungeon 所在區域 觸發補充:區域名cove/crypts/darkestdungeon/town/warrens/ weald

in_activity 減壓活動觸發補充:活動名prayer/flagellation/bar/gambling/brothel

in_room 在房間裏

in_corridor 在走廊上

at_deaths_door 死門狀態

in_rank自己站位 觸發數值:位置數-1英雄站位從左到右是4321,敵人則是1234

hpbelow血量小於 觸發數值:血量百分比

hpabove血量大於 觸發數值:血量百分比

lightbelow火把小於 觸發數值:火把數

lightabove火把大於 觸發數值:火把數

stress_below壓力小於 觸發數值:壓力數

stress_above壓力大於 觸發數值:壓力數

virtued 美德狀態

afflicted 折磨狀態

is_vampire 感染猩紅詛咒

target_is_vampire 對戰血裔

has_quirk 擁有怪癖觸發補充:怪癖名

walking_backwards 後退時

in_mode 在模式下觸發補充:模式名

is_guarded 被守護時

target_is_guarded 目標被守護時

is_guarding 守護別人

is_stealthed 潛行狀態下

target_is_stealthed 目標在潛行狀態下

has_item_id 擁有物品觸發補充:物品名

has_item_type擁有物品類型 觸發補充:物品類型

is_actor_status 人物狀態觸發補充:狀態tagged/poisoned/ bleeding/stunned

no_trinkets 不佩戴飾品

attacking_monster_type 受到攻擊觸發補充:unholy/man/beast/eldritch/vampire/corpse

6.3持續時間

round 回合結束

combat_end戰鬥結束

quest_end副本結束

quest_complete 副本完成

quest_not_complete 副本未完成

activity_end減壓活動結束

till_removed直到被移除