fix 23019 AbilityProperty

This commit is contained in:
baiqwerdvd 2024-03-19 21:10:09 +08:00
parent d2eaba4173
commit f6188dfec5
No known key found for this signature in database
GPG Key ID: 7717E46E1797411A
20 changed files with 92155 additions and 90056 deletions

View File

@ -1,6 +1,6 @@
[project]
name = "starrail_damage_cal"
version = "1.4.2"
version = "1.4.3"
description = "For StarRail Role Damage Cal"
authors = [
{name = "qwerdvd", email = "105906879+qwerdvd@users.noreply.github.com"},

File diff suppressed because it is too large Load Diff

View File

@ -1512,7 +1512,7 @@
{
"PropertyType": "SPRatioBase",
"Value": {
"Value": 0.09
"Value": 0.12
}
}
],
@ -1526,7 +1526,7 @@
{
"PropertyType": "SPRatioBase",
"Value": {
"Value": 0.105
"Value": 0.14
}
}
],
@ -1540,7 +1540,7 @@
{
"PropertyType": "SPRatioBase",
"Value": {
"Value": 0.12
"Value": 0.16
}
}
],
@ -1554,7 +1554,7 @@
{
"PropertyType": "SPRatioBase",
"Value": {
"Value": 0.135
"Value": 0.18
}
}
],
@ -1568,7 +1568,7 @@
{
"PropertyType": "SPRatioBase",
"Value": {
"Value": 0.15
"Value": 0.2
}
}
]
@ -1996,11 +1996,46 @@
]
},
"23019": {
"1": [],
"2": [],
"3": [],
"4": [],
"5": []
"1": [
{
"PropertyType": "BreakDamageAddedRatioBase",
"Value": {
"Value": 0.6
}
}
],
"2": [
{
"PropertyType": "BreakDamageAddedRatioBase",
"Value": {
"Value": 0.7
}
}
],
"3": [
{
"PropertyType": "BreakDamageAddedRatioBase",
"Value": {
"Value": 0.8
}
}
],
"4": [
{
"PropertyType": "BreakDamageAddedRatioBase",
"Value": {
"Value": 0.9
}
}
],
"5": [
{
"PropertyType": "BreakDamageAddedRatioBase",
"Value": {
"Value": 1
}
}
]
},
"23021": {
"1": [

View File

@ -38,7 +38,7 @@
"1217": "Huohuo",
"1302": "Argenti",
"1303": "RuanMei",
"1305": "Dr. Ratio",
"1305": "Dr.Ratio",
"1306": "Sparkle",
"1307": "BlackSwan",
"1312": "Misha",

View File

@ -974,13 +974,13 @@
"130501": [],
"130502": [],
"130503": [
{
"id": "130501",
"num": 1
},
{
"id": "130503",
"num": 2
},
{
"id": "130501",
"num": 1
}
],
"130504": [],

View File

@ -48700,7 +48700,7 @@
"materials": []
},
{
"promotion": 1,
"promotion": 2,
"level": 0,
"properties": [],
"materials": [
@ -48719,7 +48719,7 @@
]
},
{
"promotion": 2,
"promotion": 3,
"level": 0,
"properties": [],
"materials": [
@ -48738,7 +48738,7 @@
]
},
{
"promotion": 3,
"promotion": 4,
"level": 0,
"properties": [],
"materials": [
@ -48757,7 +48757,7 @@
]
},
{
"promotion": 4,
"promotion": 5,
"level": 0,
"properties": [],
"materials": [
@ -48776,7 +48776,7 @@
]
},
{
"promotion": 5,
"promotion": 6,
"level": 0,
"properties": [],
"materials": [
@ -48891,7 +48891,7 @@
]
},
{
"promotion": 5,
"promotion": 4,
"level": 0,
"properties": [],
"materials": [
@ -48910,7 +48910,7 @@
]
},
{
"promotion": 6,
"promotion": 5,
"level": 0,
"properties": [],
"materials": [
@ -48929,7 +48929,7 @@
]
},
{
"promotion": 7,
"promotion": 5,
"level": 0,
"properties": [],
"materials": [
@ -48952,7 +48952,7 @@
]
},
{
"promotion": 8,
"promotion": 6,
"level": 0,
"properties": [],
"materials": [
@ -48960,14 +48960,14 @@
"id": "2",
"num": 160000
},
{
"id": "241",
"num": 1
},
{
"id": "110123",
"num": 8
},
{
"id": "241",
"num": 1
},
{
"id": "110504",
"num": 1
@ -48975,7 +48975,7 @@
]
},
{
"promotion": 9,
"promotion": 6,
"level": 0,
"properties": [],
"materials": [
@ -48983,14 +48983,14 @@
"id": "2",
"num": 300000
},
{
"id": "241",
"num": 1
},
{
"id": "110123",
"num": 14
},
{
"id": "241",
"num": 1
},
{
"id": "110504",
"num": 1
@ -49094,7 +49094,7 @@
]
},
{
"promotion": 5,
"promotion": 4,
"level": 0,
"properties": [],
"materials": [
@ -49113,7 +49113,7 @@
]
},
{
"promotion": 6,
"promotion": 5,
"level": 0,
"properties": [],
"materials": [
@ -49132,7 +49132,7 @@
]
},
{
"promotion": 7,
"promotion": 5,
"level": 0,
"properties": [],
"materials": [
@ -49155,7 +49155,7 @@
]
},
{
"promotion": 8,
"promotion": 6,
"level": 0,
"properties": [],
"materials": [
@ -49163,14 +49163,14 @@
"id": "2",
"num": 160000
},
{
"id": "241",
"num": 1
},
{
"id": "110123",
"num": 8
},
{
"id": "241",
"num": 1
},
{
"id": "110504",
"num": 1
@ -49178,7 +49178,7 @@
]
},
{
"promotion": 9,
"promotion": 6,
"level": 0,
"properties": [],
"materials": [
@ -49186,14 +49186,14 @@
"id": "2",
"num": 300000
},
{
"id": "241",
"num": 1
},
{
"id": "110123",
"num": 14
},
{
"id": "241",
"num": 1
},
{
"id": "110504",
"num": 1
@ -49297,7 +49297,7 @@
]
},
{
"promotion": 5,
"promotion": 4,
"level": 0,
"properties": [],
"materials": [
@ -49316,7 +49316,7 @@
]
},
{
"promotion": 6,
"promotion": 5,
"level": 0,
"properties": [],
"materials": [
@ -49335,7 +49335,7 @@
]
},
{
"promotion": 7,
"promotion": 5,
"level": 0,
"properties": [],
"materials": [
@ -49358,7 +49358,7 @@
]
},
{
"promotion": 8,
"promotion": 6,
"level": 0,
"properties": [],
"materials": [
@ -49366,14 +49366,14 @@
"id": "2",
"num": 160000
},
{
"id": "241",
"num": 1
},
{
"id": "110123",
"num": 8
},
{
"id": "241",
"num": 1
},
{
"id": "110504",
"num": 1
@ -49381,7 +49381,7 @@
]
},
{
"promotion": 9,
"promotion": 6,
"level": 0,
"properties": [],
"materials": [
@ -49389,14 +49389,14 @@
"id": "2",
"num": 300000
},
{
"id": "241",
"num": 1
},
{
"id": "110123",
"num": 14
},
{
"id": "241",
"num": 1
},
{
"id": "110504",
"num": 1
@ -49437,12 +49437,8 @@
"desc": "施放战技时目标每有1个负面效果真理医生暴击率提高#1[f1]%、暴击伤害提高#2[i]%,该效果最多叠加#3[i]层。",
"params": [
[
0.025
],
[
0.05
],
[
0.025,
0.05,
6
]
],
@ -49470,7 +49466,7 @@
]
}
],
"icon": "icon/property/SkillIcon_1305_SkillTree1.png"
"icon": "icon/skill/1305_skilltree1.png"
},
"1305102": {
"id": "1305102",
@ -49479,12 +49475,8 @@
"desc": "施放战技攻击敌方目标后,有#1[i]%的基础概率使受到攻击的敌方目标效果抵抗降低#2[i]%,持续#3[i]回合。",
"params": [
[
1
],
[
0.1
],
[
1,
0.1,
2
]
],
@ -49501,14 +49493,14 @@
"id": "2",
"num": 20000
},
{
"id": "241",
"num": 1
},
{
"id": "110122",
"num": 5
},
{
"id": "241",
"num": 1
},
{
"id": "110504",
"num": 1
@ -49516,7 +49508,7 @@
]
}
],
"icon": "icon/property/SkillIcon_1305_SkillTree2.png"
"icon": "icon/skill/1305_skilltree2.png"
},
"1305103": {
"id": "1305103",
@ -49525,12 +49517,8 @@
"desc": "造成伤害时,若目标负面状态大于等于#1[i]个目标每有1个负面效果真理医生对其造成的伤害提高#2[i]%,最多提高#3[i]%。",
"params": [
[
3
],
[
0.1
],
[
3,
0.1,
0.5
]
],
@ -49547,14 +49535,14 @@
"id": "2",
"num": 160000
},
{
"id": "241",
"num": 1
},
{
"id": "110123",
"num": 8
},
{
"id": "241",
"num": 1
},
{
"id": "110504",
"num": 1
@ -49562,7 +49550,7 @@
]
}
],
"icon": "icon/property/SkillIcon_1305_SkillTree3.png"
"icon": "icon/skill/1305_skilltree3.png"
},
"1305201": {
"id": "1305201",
@ -49576,7 +49564,7 @@
"levels": [
{
"promotion": 0,
"level": 0,
"level": 1,
"properties": [
{
"type": "AttackAddedRatio",
@ -49614,7 +49602,7 @@
"level": 0,
"properties": [
{
"type": "CriticalChance",
"type": "CriticalChanceBase",
"value": 0.027
}
],
@ -49682,9 +49670,7 @@
"desc": "",
"params": [],
"anchor": "Point12",
"pre_points": [
"1305203"
],
"pre_points": [],
"level_up_skills": [],
"levels": [
{
@ -49770,7 +49756,7 @@
"level": 0,
"properties": [
{
"type": "CriticalChance",
"type": "CriticalChanceBase",
"value": 0.04
}
],
@ -49799,9 +49785,7 @@
"desc": "",
"params": [],
"anchor": "Point15",
"pre_points": [
"1305206"
],
"pre_points": [],
"level_up_skills": [],
"levels": [
{
@ -49884,10 +49868,10 @@
"levels": [
{
"promotion": 0,
"level": 0,
"level": 75,
"properties": [
{
"type": "CriticalChance",
"type": "CriticalChanceBase",
"value": 0.053
}
],
@ -49923,7 +49907,7 @@
"levels": [
{
"promotion": 0,
"level": 0,
"level": 80,
"properties": [
{
"type": "AttackAddedRatio",

View File

@ -5,7 +5,7 @@ from starrail_damage_cal.cal_damage import DamageCal
async def test_get_damage_data_by_uid() -> None:
data = await DamageCal.get_all_damage_data_by_uid(uid="102840119")
data = await DamageCal.get_all_damage_data_by_uid(uid="100895938")
if isinstance(data, Union[List, dict]):
print(json.dumps(data, ensure_ascii=False, indent=4))