143 lines
3.9 KiB
JSON
143 lines
3.9 KiB
JSON
{
|
|
"AbilityMixins": [
|
|
{
|
|
"$type": "ListenAbilityMixin",
|
|
"AbilityName": "Zhenzhen_SwitchPhase",
|
|
"OnListenAbilityAdded": [
|
|
{
|
|
"$type": "SetTargetAbilitySpecialAction",
|
|
"DoRefresh": true,
|
|
"Params": [
|
|
{
|
|
"AbilityName": "Zhenzhen_SwitchPhase",
|
|
"AbilitySpecials": [
|
|
{
|
|
"ModifyFunction": "Replace",
|
|
"Param": "%AS_SwitchPhaseCount_Threshold",
|
|
"ParamName": "AS_SwitchPhaseCount_Threshold",
|
|
"ParamType": "Integer"
|
|
},
|
|
{
|
|
"ModifyFunction": "Replace",
|
|
"Param": "%AS_SwitchPhaseCount_Max",
|
|
"ParamName": "AS_SwitchPhaseCount_Max",
|
|
"ParamType": "Integer"
|
|
},
|
|
{
|
|
"ModifyFunction": "Replace",
|
|
"Param": "%AS_SwitchPhaseCount_OnAdded",
|
|
"ParamName": "AS_SwitchPhaseCount_Current",
|
|
"ParamType": "Integer"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Targetting": "Self"
|
|
}
|
|
],
|
|
"AbilityName": "Zhenzhen_Talent_04",
|
|
"AbilitySpecials": {
|
|
"AS_AddedDamageValue": {
|
|
"Value": 0,
|
|
"ValueType": "Float"
|
|
},
|
|
"AS_AddedDamageValue_Final": {
|
|
"Value": 0,
|
|
"ValueType": "Float"
|
|
},
|
|
"AS_SwitchPhaseCount_Current": {
|
|
"Value": 0,
|
|
"ValueType": "Integer"
|
|
},
|
|
"AS_SwitchPhaseCount_Max": {
|
|
"Value": 3,
|
|
"ValueType": "Integer"
|
|
},
|
|
"AS_SwitchPhaseCount_OnAdded": {
|
|
"Value": 0,
|
|
"ValueType": "Integer"
|
|
},
|
|
"AS_SwitchPhaseCount_Threshold": {
|
|
"Value": 3,
|
|
"ValueType": "Integer"
|
|
}
|
|
},
|
|
"AbilityStacking": "Unique",
|
|
"DefaultModifier": {
|
|
"OnAdded": [
|
|
{
|
|
"$type": "SetTargetAbilitySpecialAction",
|
|
"DoRefresh": true,
|
|
"Params": [
|
|
{
|
|
"AbilityName": "Zhenzhen_SwitchPhase",
|
|
"AbilitySpecials": [
|
|
{
|
|
"ModifyFunction": "Replace",
|
|
"Param": "%AS_SwitchPhaseCount_Threshold",
|
|
"ParamName": "AS_SwitchPhaseCount_Threshold",
|
|
"ParamType": "Integer"
|
|
},
|
|
{
|
|
"ModifyFunction": "Replace",
|
|
"Param": "%AS_SwitchPhaseCount_Max",
|
|
"ParamName": "AS_SwitchPhaseCount_Max",
|
|
"ParamType": "Integer"
|
|
},
|
|
{
|
|
"ModifyFunction": "Replace",
|
|
"Param": "%AS_SwitchPhaseCount_OnAdded",
|
|
"ParamName": "AS_SwitchPhaseCount_Current",
|
|
"ParamType": "Integer"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnHitOther": [
|
|
{
|
|
"$type": "ModifyAttackDataAction",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByAnimEventIDs",
|
|
"AnimEventIDs": [
|
|
"Zhenzhen_Attack_ExSpecial_P2_02_AttackProperty_02_03",
|
|
"Zhenzhen_ExQTE_P2_AttackProperty_03_02"
|
|
],
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"PropertyKey": "Actor_AddedAttackDelta",
|
|
"PropertyValue": "%AS_AddedDamageValue_Final",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"OnPatternHitOtherPre": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByAnimEventIDs",
|
|
"AnimEventIDs": [
|
|
"Zhenzhen_Attack_ExSpecial_P2_02_AttackProperty_02_03",
|
|
"Zhenzhen_ExQTE_P2_AttackProperty_03_02"
|
|
],
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "SetAbilitySpecialByExpression",
|
|
"DoRefresh": true,
|
|
"Expression": "property(Atk_Battle)*specials(AS_AddedDamageValue)",
|
|
"ParamName": "AS_AddedDamageValue_Final",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |