Add logic tree computation and item enchantment.

This commit is contained in:
2026-01-26 00:05:05 +01:00
parent 777443471c
commit e9a892076d
6 changed files with 325 additions and 288 deletions

View File

@@ -5337,8 +5337,8 @@
{
"id": "d1xQebDQ~afaLpHgH_yz.VWc",
"category": "tree",
"tree": "Armes",
"option": "strength"
"tree": "weapon",
"priority": 1
}
]
},
@@ -5349,8 +5349,9 @@
{
"id": "ksIx8~LCJWCZMnS.MOz7IfrV",
"category": "tree",
"tree": "Armes",
"option": "strength"
"tree": "weapon",
"option": "strength",
"priority": 2
},
{
"id": "Jb-1RnRHwAPh2F0H_0aIfDPe",
@@ -5368,7 +5369,7 @@
{
"id": "HdMYachDsjo5HB3ThTctAHl.",
"category": "tree",
"tree": "Armures"
"tree": "armor"
}
]
},
@@ -5379,8 +5380,9 @@
{
"id": "DY2K~wXSYfraOZ95dDNWM4WK",
"category": "tree",
"tree": "Armes",
"option": "strength"
"tree": "weapon",
"option": "strength",
"priority": 3
},
{
"category": "value",
@@ -5411,7 +5413,8 @@
{
"id": "dFJoBM9hqmx-.W9d3skKzTey",
"category": "tree",
"tree": "Bouclier"
"tree": "weapon",
"option": "shield"
},
{
"category": "value",
@@ -5442,8 +5445,9 @@
{
"id": "zyfo6vWAwVlwKfHmaIU71yOE",
"category": "tree",
"tree": "Armes",
"option": "strength"
"tree": "weapon",
"option": "strength",
"priority": 4
}
]
},
@@ -5454,7 +5458,7 @@
{
"id": "rGtX-s2~IEf-luCkammuc8pN",
"category": "tree",
"tree": "Armures"
"tree": "armor"
},
{
"id": ".jZrWD92hXVNdFac2HaDNgug",
@@ -5551,7 +5555,8 @@
{
"id": "l.o2_89Rr6vAJjtMnR1CblgF",
"category": "tree",
"tree": "Bouclier"
"tree": "weapon",
"option": "shield"
},
{
"category": "value",
@@ -5830,7 +5835,7 @@
{
"id": "0oZ9PR4Z9FEqT3XYpfhGcLku",
"category": "tree",
"tree": "Attaques multiples"
"tree": "multiattack"
}
]
},
@@ -5855,13 +5860,13 @@
{
"id": "5O0ivP35uUL_4867L~Oloxgd",
"category": "tree",
"tree": "Attaques multiples"
"tree": "multiattack"
},
{
"id": "d4ekXS0r2~v7ONux6oH2CaLP",
"category": "tree",
"tree": "Armes",
"option": "strength"
"tree": "weapon",
"priority": 1
}
]
},
@@ -5872,8 +5877,9 @@
{
"id": "rsw70mkMn5pVkN1VXXZCdxSQ",
"category": "tree",
"tree": "Armes",
"option": "dexterity"
"tree": "weapon",
"option": "dexterity",
"priority": 2
}
]
},
@@ -5884,7 +5890,7 @@
{
"id": "2_r_JSmTB76Nqkm3yed0IKHi",
"category": "tree",
"tree": "Attaques multiples"
"tree": "multiattack"
}
]
},
@@ -5915,8 +5921,9 @@
{
"id": "BFvq2o_ujkwk5tteSE6aVJ9_",
"category": "tree",
"tree": "Armes",
"option": "dexterity"
"tree": "weapon",
"option": "dexterity",
"priority": 3
},
{
"id": "A-MWtQHUJaxF8FDSY~93p~k5",
@@ -6093,7 +6100,7 @@
{
"id": "Hem_L_b9ALISR_BGSaPLz5Jo",
"category": "tree",
"tree": "Attaques multiples"
"tree": "multiattack"
}
]
},
@@ -6335,7 +6342,7 @@
{
"id": "qK8OzqEuvtC-dD0NcPbDQJaz",
"category": "tree",
"tree": "Attaques multiples"
"tree": "multiattack"
}
]
},
@@ -7194,7 +7201,7 @@
{
"id": "joKhNNXkaSGvq-w2r_s~QMZE",
"category": "tree",
"tree": "Magie (Rapidité)"
"tree": "magic_speed"
}
]
},
@@ -7265,7 +7272,7 @@
{
"id": "szD-N-j274stZR~AitvELxTh",
"category": "tree",
"tree": "Magie (Élements)"
"tree": "magic_elements"
},
{
"id": "AcQYQ8DPvR7IJnQDvBtNA~jb",
@@ -7283,7 +7290,7 @@
{
"id": "e0.rWKd1gED~g4EnlVhOQHc6",
"category": "tree",
"tree": "Magie (Puissance)"
"tree": "magic_power"
},
{
"id": "aAEVLEi0N0sQOh67e9cqK4ov",
@@ -7361,7 +7368,7 @@
{
"id": "fo5gX5BhxkJa8s09bP0MUhnp",
"category": "tree",
"tree": "Magie (Rapidité)"
"tree": "magic_speed"
}
]
},
@@ -7392,7 +7399,7 @@
{
"id": "RbWEMZRq90g_OzGDz0EVrPO.",
"category": "tree",
"tree": "Magie (Puissance)"
"tree": "magic_power"
}
]
},
@@ -7430,7 +7437,7 @@
{
"id": "rSLbAIefi-0gP5UDd7LPT6jK",
"category": "tree",
"tree": "Magie (Élements)"
"tree": "magic_elements"
},
{
"id": "xvxTGbUzrMnHeWf6XOuXQTui",
@@ -7513,7 +7520,7 @@
{
"id": "nlAXO72~EJ_IBNf45Zw8W-MB",
"category": "tree",
"tree": "Magie (Rapidité)"
"tree": "magic_speed"
}
]
},
@@ -7608,7 +7615,7 @@
{
"id": "4_IIWDclB1mPDwPm2HH3.Fg7",
"category": "tree",
"tree": "Magie (Élements)"
"tree": "magic_elements"
},
{
"id": "XnUQYa_bHhFCzs-jig2Qb1PB",
@@ -7626,7 +7633,7 @@
{
"id": "7H5c6ZmKWplUZLOvgg-z8-SB",
"category": "tree",
"tree": "Magie (Puissance)"
"tree": "magic_power"
},
{
"id": "EWi.ZCAfiKOHXW~xOnEz4E.I",
@@ -9934,7 +9941,7 @@
{
"category": "tree",
"id": "oKABKwwIi5YK0CQ67~fu2VBB",
"tree": "Magie (Rapidité)"
"tree": "magic_speed"
}
],
"text": "Magie (Rapidité)"
@@ -9944,7 +9951,7 @@
{
"category": "tree",
"id": "U-.yGz~-dQ_y4Ox~UcWLQeF7",
"tree": "Magie (Élements)"
"tree": "magic_elements"
}
],
"text": "Magie (Elements)"
@@ -9954,7 +9961,7 @@
{
"category": "tree",
"id": "6ZtTRHoNLzQS8ch0Wm9d9Nd2",
"tree": "Magie (Puissance)"
"tree": "magic_power"
}
],
"text": "Magie (Puissance)"
@@ -9964,7 +9971,7 @@
{
"category": "tree",
"id": ".sO20lheuROha6h3Z-uiN9VK",
"tree": "Magie (Instinct)"
"tree": "magic_instinct"
}
],
"text": "Magie (Instinct)"
@@ -10139,7 +10146,7 @@
{
"category": "tree",
"id": "q.e.XKvHP~TPcJ.SmXbh1mFI",
"tree": "Magie (Rapidité)"
"tree": "magic_speed"
}
],
"text": "Magie (Rapidité)"
@@ -10149,7 +10156,7 @@
{
"category": "tree",
"id": "YqykU8-_b646WG6FXCqhT~lo",
"tree": "Magie (Élements)"
"tree": "magic_elements"
}
],
"text": "Magie (Elements)"
@@ -10159,7 +10166,7 @@
{
"category": "tree",
"id": "2aKy7p5C9gARXdpw.Q0yUigb",
"tree": "Magie (Puissance)"
"tree": "magic_power"
}
],
"text": "Magie (Puissance)"
@@ -10169,7 +10176,7 @@
{
"category": "tree",
"id": "z0WdFVj_p.~fXn9MX-vzOJlz",
"tree": "Magie (Instinct)"
"tree": "magic_instinct"
}
],
"text": "Magie (Instinct)"
@@ -10316,7 +10323,7 @@
{
"category": "tree",
"id": "LpFHjh0.5aQCdiHJhbqQyHql",
"tree": "Magie (Rapidité)"
"tree": "magic_speed"
}
],
"text": "Magie (Rapidité)"
@@ -10326,7 +10333,7 @@
{
"category": "tree",
"id": "dTr6toyWXfHaOmCQ-jVC5aR6",
"tree": "Magie (Élements)"
"tree": "magic_elements"
}
],
"text": "Magie (Elements)"
@@ -10336,7 +10343,7 @@
{
"category": "tree",
"id": "zoMsbEBlKi~-sE3FF_HJZG~h",
"tree": "Magie (Puissance)"
"tree": "magic_power"
}
],
"text": "Magie (Puissance)"
@@ -10346,7 +10353,7 @@
{
"category": "tree",
"id": "utjjORBYquyxObvO0NusOU3I",
"tree": "Magie (Instinct)"
"tree": "magic_instinct"
}
],
"text": "Magie (Instinct)"
@@ -11867,7 +11874,7 @@
{
"id": "PMe0K5J-08rVFV97xlt_9jc.",
"category": "tree",
"tree": "Armures"
"tree": "armor"
},
{
"id": "aXuZp3-NvumkAd5pkfxQA7ZJ",
@@ -11887,7 +11894,7 @@
"category": "value",
"property": "capacity",
"operation": "add",
"value": 5
"value": 7
},
{
"id": "jPeOIVxE~uL5pH14moZPKXDV",
@@ -11907,7 +11914,7 @@
"category": "value",
"property": "capacity",
"operation": "add",
"value": 8
"value": 10
},
{
"id": "jbZn~Zxqa_EMZ7-956OIZJ0N",
@@ -12090,6 +12097,13 @@
"action": "add",
"list": "mastery",
"item": "weapon/throw"
},
{
"id": "23oCnqr3NWxbf-bGMi2sWGqB",
"category": "value",
"property": "capacity",
"operation": "add",
"value": 4
}
]
},
@@ -12116,7 +12130,7 @@
"category": "value",
"property": "capacity",
"operation": "add",
"value": 4
"value": 5
}
]
},
@@ -12136,7 +12150,7 @@
"category": "value",
"property": "capacity",
"operation": "add",
"value": 4
"value": 6
}
]
},
@@ -12196,7 +12210,7 @@
"category": "value",
"property": "capacity",
"operation": "add",
"value": 5
"value": 6
}
]
},
@@ -13067,7 +13081,7 @@
"id": "ii6ibd_UBB4WNwROEKuZ2DsU",
"category": "value",
"operation": "add",
"property": "attack",
"property": "item/attack",
"value": 2
}
],
@@ -13083,7 +13097,7 @@
"trees": {
"multiattack": {
"name": "Attaques multiples",
"starts": "jkCWvHUXfcunAqObBMxG33LG",
"start": "jkCWvHUXfcunAqObBMxG33LG",
"nodes": {
"jkCWvHUXfcunAqObBMxG33LG": {
"id": "jkCWvHUXfcunAqObBMxG33LG",
@@ -13091,10 +13105,10 @@
},
".8XF~eY-V2Uw9.r-0FUqXI_v": {
"id": ".8XF~eY-V2Uw9.r-0FUqXI_v",
"to": [
"ge2eIqWU_QJG5eRBtcGmJkJF",
"8S59gbI3SlI_OnpX4xYCgOTR"
]
"to": {
"weapon": "ge2eIqWU_QJG5eRBtcGmJkJF",
"natural": "8S59gbI3SlI_OnpX4xYCgOTR"
}
},
"ge2eIqWU_QJG5eRBtcGmJkJF": {
"id": "ge2eIqWU_QJG5eRBtcGmJkJF",
@@ -13106,10 +13120,10 @@
},
"8rJMdRfzlEZK~0Swy4lVBRCy": {
"id": "8rJMdRfzlEZK~0Swy4lVBRCy",
"to": [
"9IjVXfs.Wn2hUO7MO-opqTv3",
".5jZ4i7PCjjMU~2cEJ_shA9A"
]
"to": {
"heavy": "9IjVXfs.Wn2hUO7MO-opqTv3",
"standard": ".5jZ4i7PCjjMU~2cEJ_shA9A"
}
},
"PSADBNT7X4X9iLp0yUebsKw7": {
"id": "PSADBNT7X4X9iLp0yUebsKw7"
@@ -13124,7 +13138,7 @@
},
"armor": {
"name": "Armures",
"starts": "EB6wYkE9UrY0cwDnC3dTkHgT",
"start": "EB6wYkE9UrY0cwDnC3dTkHgT",
"nodes": {
"EB6wYkE9UrY0cwDnC3dTkHgT": {
"id": "EB6wYkE9UrY0cwDnC3dTkHgT",
@@ -13139,26 +13153,16 @@
}
}
},
"shield": {
"name": "Bouclier",
"starts": "896hiPc4jc8j95t8bcyyF7FL",
"nodes": {
"896hiPc4jc8j95t8bcyyF7FL": {
"id": "896hiPc4jc8j95t8bcyyF7FL"
},
"tlNKlSb296hvhubMzPh5k8NR": {
"id": "tlNKlSb296hvhubMzPh5k8NR",
"flags": 2
}
}
},
"weapon": {
"name": "Armes",
"starts": "Gfez7sWYRZ4VY4piDWW-RopA",
"start": "Gfez7sWYRZ4VY4piDWW-RopA",
"nodes": {
"Gfez7sWYRZ4VY4piDWW-RopA": {
"id": "Gfez7sWYRZ4VY4piDWW-RopA",
"to": "1UGGF5Q-rupsYtMVF2VYzn5~"
"to": {
"": "1UGGF5Q-rupsYtMVF2VYzn5~",
"shield": "896hiPc4jc8j95t8bcyyF7FL"
}
},
"1UGGF5Q-rupsYtMVF2VYzn5~": {
"id": "1UGGF5Q-rupsYtMVF2VYzn5~",
@@ -13183,19 +13187,28 @@
},
"jfiEWy9Vi7e_Id.iRrb9-AXa": {
"id": "jfiEWy9Vi7e_Id.iRrb9-AXa",
"flags": 1
"flags": 2
},
"R3e.waj.fT6Lcbpgg0IOw41W": {
"id": "R3e.waj.fT6Lcbpgg0IOw41W"
"id": "R3e.waj.fT6Lcbpgg0IOw41W",
"to": "tlNKlSb296hvhubMzPh5k8NR"
},
"y7TB0Z2jcFgPbr8rW6QyaH7z": {
"id": "y7TB0Z2jcFgPbr8rW6QyaH7z"
"id": "y7TB0Z2jcFgPbr8rW6QyaH7z",
"to": "tlNKlSb296hvhubMzPh5k8NR"
},
"896hiPc4jc8j95t8bcyyF7FL": {
"id": "896hiPc4jc8j95t8bcyyF7FL",
"flags": 4
},
"tlNKlSb296hvhubMzPh5k8NR": {
"id": "tlNKlSb296hvhubMzPh5k8NR"
}
}
},
"magic_instinct": {
"name": "Magie (Instinct)",
"starts": "dOB1yNB3JKZ7uQWe88TezQAC",
"start": "dOB1yNB3JKZ7uQWe88TezQAC",
"nodes": {
"dOB1yNB3JKZ7uQWe88TezQAC": {
"id": "dOB1yNB3JKZ7uQWe88TezQAC",
@@ -13218,7 +13231,7 @@
},
"magic_speed": {
"name": "Magie (Rapidité)",
"starts": "GNDBexNnuFuzLMoLbV-RuG5g",
"start": "GNDBexNnuFuzLMoLbV-RuG5g",
"nodes": {
"GNDBexNnuFuzLMoLbV-RuG5g": {
"id": "GNDBexNnuFuzLMoLbV-RuG5g",
@@ -13241,7 +13254,7 @@
},
"magic_power": {
"name": "Magie (Puissance)",
"starts": "HDYn3D21~oauYy9haENxjjX5",
"start": "HDYn3D21~oauYy9haENxjjX5",
"nodes": {
"HDYn3D21~oauYy9haENxjjX5": {
"id": "HDYn3D21~oauYy9haENxjjX5",
@@ -13264,7 +13277,7 @@
},
"magic_elements": {
"name": "Magie (Élements)",
"starts": "646baK3niCwFOKQy.hGiUcv-",
"start": "646baK3niCwFOKQy.hGiUcv-",
"nodes": {
"646baK3niCwFOKQy.hGiUcv-": {
"id": "646baK3niCwFOKQy.hGiUcv-",