feat: add identity and talent config frameworks
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"identities": [
|
||||
{
|
||||
"id": "taoist_orphan",
|
||||
"name": "道观弃婴",
|
||||
"description": "被遗弃在道观门口的婴儿,由道士抚养长大。开局自带道碟。",
|
||||
"startingStats": { "body": 3, "wisdom": 5, "charm": 2, "destiny": 4, "business": 0, "intelligence": 3 },
|
||||
"startingItems": ["taoist_license"],
|
||||
"unlockConditions": []
|
||||
},
|
||||
{
|
||||
"id": "peasant",
|
||||
"name": "农家子",
|
||||
"description": "普通农户家的孩子。",
|
||||
"startingStats": { "body": 4, "wisdom": 3, "charm": 3, "destiny": 3, "business": 1, "intelligence": 2 },
|
||||
"startingItems": [],
|
||||
"unlockConditions": []
|
||||
},
|
||||
{
|
||||
"id": "merchant_son",
|
||||
"name": "商贾之子",
|
||||
"description": "商人家庭出身,从小耳濡目染经商之道。",
|
||||
"startingStats": { "body": 2, "wisdom": 4, "charm": 4, "destiny": 3, "business": 5, "intelligence": 4 },
|
||||
"startingItems": [],
|
||||
"unlockConditions": [
|
||||
{ "type": "reincarnation", "op": ">=", "value": 1 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "noble",
|
||||
"name": "世家子弟",
|
||||
"description": "出身名门望族,从小接受良好教育。",
|
||||
"startingStats": { "body": 3, "wisdom": 5, "charm": 5, "destiny": 5, "business": 3, "intelligence": 5 },
|
||||
"startingItems": [],
|
||||
"unlockConditions": [
|
||||
{ "type": "reincarnation", "op": ">=", "value": 2 }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"talents": [
|
||||
{
|
||||
"id": "sword_bone",
|
||||
"name": "剑骨",
|
||||
"type": "talent",
|
||||
"description": "天生剑骨,军事职业经验+20%",
|
||||
"effects": [
|
||||
{ "type": "addStat", "stat": "body", "value": 5 }
|
||||
],
|
||||
"unlockConditions": [
|
||||
{ "type": "careerLevel", "careerId": "soldier", "op": ">=", "value": 100 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "spirit_root",
|
||||
"name": "灵根",
|
||||
"type": "talent",
|
||||
"description": "身怀灵根,修仙职业经验+20%",
|
||||
"effects": [
|
||||
{ "type": "addStat", "stat": "wisdom", "value": 5 }
|
||||
],
|
||||
"unlockConditions": [
|
||||
{ "type": "careerLevel", "careerId": "taoist_priest", "op": ">=", "value": 100 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "eidetic_memory",
|
||||
"name": "过目不忘",
|
||||
"type": "talent",
|
||||
"description": "记忆力超群,书生职业经验+20%",
|
||||
"effects": [
|
||||
{ "type": "addStat", "stat": "wisdom", "value": 3 },
|
||||
{ "type": "addStat", "stat": "intelligence", "value": 3 }
|
||||
],
|
||||
"unlockConditions": [
|
||||
{ "type": "careerLevel", "careerId": "student", "op": ">=", "value": 200 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "lucky_star",
|
||||
"name": "福星高照",
|
||||
"type": "talent",
|
||||
"description": "天生好运,事件收益+20%",
|
||||
"effects": [
|
||||
{ "type": "addStat", "stat": "destiny", "value": 5 }
|
||||
],
|
||||
"unlockConditions": [
|
||||
{ "type": "stat", "stat": "destiny", "op": ">=", "value": 30 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "business_genius",
|
||||
"name": "经商奇才",
|
||||
"type": "talent",
|
||||
"description": "商业嗅觉敏锐,银两收入+20%",
|
||||
"effects": [
|
||||
{ "type": "addStat", "stat": "business", "value": 5 }
|
||||
],
|
||||
"unlockConditions": [
|
||||
{ "type": "stat", "stat": "business", "op": ">=", "value": 30 }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user