9.折磨和美德
文件shared/trait/trait_
記錄了在折磨或美德狀態下獲得的額外效果
標準格式:
{
"id" : "折磨/美德名",
"overstress_type": "affliction(折磨)/ virtue(美德)",
"curio_tag" : "none", (互動物品)
"curio_tag_chance" : 0.5, (互動概率)
"keep_loot" : false, (互動後是否佔爲己有)
"buff_ids" : (buff效果)
[
"buff效果名1",
"buff效果名2",
……
"buff效果名n"
],
"combat_start_turn_act_outs": (回合開始時行動)
[
{ "id": "行動1", "data": { "number_value": 0.0, "string_value": "效果" }, "chance": 概率},
{ "id": "行動2", "data": { "number_value": 0.0, "string_value": "效果" }, "chance": 概率},
……
{ "id": "行動n", "data": { "number_value": 0.0, "string_value": " 效果" }, "chance": 概率}
],
"reaction_act_outs": (拒絕與壓力相關)
[
{ "id": "block_拒絕做的事", "data":{ "effect": "" }, "chance": 概率},
……
{ "id": "comment_壓力觸發事件", "data":{ "effect": "BarkStress" }, "chance": 概率},
……
{ "id": "block_effect", "data":{ "effect": "BarkStressHeal" }, "chance": 0} (壓力回覆)
]
},
1.所有連排寫的句子最後都要加逗號,最下面的句子不加
2.除了壓力觸發事件的概率是百分比,其他的都是用整數表示份額
3."number_value": 0.0 (效果數額,用於自殘和自愈的血量百分比)
4.壓力觸發和回覆是用 effect"BarkStress"、"BarkStressHeal"實現的