ZenlessData/Data/Lighter_Talent_04.json

258 lines
7.8 KiB
JSON
Raw Permalink Normal View History

{
"AbilityName": "Lighter_Talent_04",
"AbilitySpecials": {
"AS_ActCD_Talent04": {
"Value": 6
},
"AS_BreakStunBase": {
"Value": 120
},
"AS_BreakStun_Max": {
"Value": 240
},
"AS_DamagefromBreakStun": {
"Value": 0.2
},
"AS_DamagefromBreakStun_Unique": {
"Value": 0
},
"AS_Magnification_Base": {
"Value": 3.6
},
"AS_Magnification_BreakStun": {
"Value": 0.03
},
"AS_Max_DamageUp": {
"Value": 1
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAttackLanded": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByHasModifier",
"ModifierNameList": [
"Lighter_Talent04_FireTimer"
],
"OperatorType": "Not",
"Target": "Target"
},
{
"$type": "ByCauseStun",
"IsCauseStun": true,
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAnd",
"Predicates": [
{
"$type": "ByPlayerPropertyValue",
"CompareType": "GreaterEqual",
"IsUsePercent": false,
"Numerator": "BreakStun_Battle",
"Target": "Self",
"Val1": "%AS_BreakStunBase"
}
]
}
],
"FailureActions": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0,
"ParamName": "AS_DamagefromBreakStun",
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "(property(BreakStun_Battle)-specials(AS_BreakStunBase))*specials(AS_Magnification_BreakStun)",
"ParamName": "AS_DamagefromBreakStun",
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_Max_DamageUp)",
"ParamName": "AS_DamagefromBreakStun",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Greater",
"Param": "%AS_Max_DamageUp",
"ParamName": "AS_DamagefromBreakStun",
"ParamType": "Float",
"Target": "Self"
}
],
"ValueType": "Float"
}
],
"Target": "Self"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "property(Atk_Battle)*(specials(AS_Magnification_Base)+specials(AS_DamagefromBreakStun))",
"ParamName": "AS_DamagefromBreakStun_Unique",
"ValueType": "Float"
},
{
"$type": "DamageByAttackPropertyAction",
"AttackProperty": {
"AddedDamageValue": "%AS_DamagefromBreakStun_Unique",
"DamageElement": "Fire"
},
"Target": "Target"
},
{
"$type": "FireEffect",
"EffectPattern": "Eff_Lighter_Common_01_Fire",
"FireEffectPosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": true,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"AttachPoint": "MiddlePoint",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": false,
"OffsetReferTarget": "Self"
}
},
"Target": "Target"
},
{
"$type": "ApplyModifier",
"ModifierName": "Lighter_Talent04_FireTimer",
"Target": "Target"
}
],
"Target": "Self"
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAnd",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Lighter_Attack_Normal_05_03_Enhance_Max_AttackProperty_01",
"Lighter_Attack_Normal_05_03_Enhance_Max_AttackProperty_02"
],
"Target": "Self"
},
{
"$type": "ByCauseStun",
"IsCauseStun": true,
"Target": "Self"
}
]
}
],
"SuccessActions": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAnd",
"Predicates": [
{
"$type": "ByPlayerPropertyValue",
"CompareType": "GreaterEqual",
"IsUsePercent": false,
"Numerator": "BreakStun_Battle",
"Target": "Self",
"Val1": "%AS_BreakStunBase"
}
]
}
],
"FailureActions": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0,
"ParamName": "AS_DamagefromBreakStun",
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "(property(BreakStun_Battle)-specials(AS_BreakStunBase))*specials(AS_Magnification_BreakStun)",
"ParamName": "AS_DamagefromBreakStun",
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_Max_DamageUp)",
"ParamName": "AS_DamagefromBreakStun",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Greater",
"Param": "%AS_Max_DamageUp",
"ParamName": "AS_DamagefromBreakStun",
"ParamType": "Float",
"Target": "Self"
}
],
"ValueType": "Float"
}
],
"Target": "Self"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "property(Atk_Battle)*(specials(AS_Magnification_Base)+specials(AS_DamagefromBreakStun))",
"ParamName": "AS_DamagefromBreakStun_Unique",
"ValueType": "Float"
},
{
"$type": "DamageByAttackPropertyAction",
"AttackProperty": {
"AddedDamageValue": "%AS_DamagefromBreakStun_Unique",
"DamageElement": "Fire"
},
"Target": "Target"
}
]
}
]
},
"Modifiers": {
"Lighter_Talent04_FireTimer": {
"Duration": "%AS_ActCD_Talent04",
"ModifierStacking": "Unique"
}
}
}