ZenlessData/Data/Test_Card_LimboS2Test_1009911.json
2024-12-17 20:43:14 -03:00

99 lines
2.4 KiB
JSON

{
"AbilityName": "Test_Card_LimboS2Test_1009911",
"AbilitySpecials": {
"AddedDamageRatio": {
"Value": 0
},
"HPRatioToDamageTrans": {
"Value": 10
},
"HpPercentage": {
"Value": 0.2
},
"HpReducePercent": {
"Value": 0
},
"HpThreshold": {
"Value": 0.5
},
"Self_CurHP": {
"Value": 0
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnSkillStart": [
{
"$type": "ApplyModifier",
"ModifierName": "HpReduceModifier",
"Predicates": [
{
"$type": "ByFromSkillType",
"SkillType": "ExQTE",
"Target": "Self"
}
],
"Target": "Self"
}
]
},
"Modifiers": {
"HpReduceModifier": {
"Duration": -1,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "property(CurHP)\/property(MaxHP)",
"ParamName": "Self_CurHP",
"Target": "Self",
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(HpPercentage)*specials(Self_CurHP)",
"ParamName": "HpReducePercent",
"ValueType": "Float"
},
{
"$type": "DecreaseHPAction",
"Amount": 0,
"IgnoreInvincible": "true",
"Percentage": "%HpReducePercent",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Greater",
"Param": "%HpThreshold",
"ParamName": "Self_CurHP",
"ParamType": "Float"
}
],
"Target": "Self"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(HpReducePercent)*specials(HPRatioToDamageTrans)",
"ParamName": "AddedDamageRatio",
"ValueType": "Float"
},
{
"$type": "ModifyAttackDataAction",
"Predicates": [
{
"$type": "ByFromSkillType",
"SkillType": "ExQTE",
"Target": "Self"
}
],
"PropertyKey": "Actor_AddedDamageRatio",
"PropertyValue": "%AddedDamageRatio",
"Target": "Self"
}
]
}
}
}