605 lines
18 KiB
JSON
605 lines
18 KiB
JSON
{
|
|
"AbilityMixins": [
|
|
{
|
|
"$type": "ActionsOnPropertyChangeMixin",
|
|
"PropertyActions": [
|
|
{
|
|
"CustomPropertyType": "EnhanceCount",
|
|
"InstantPropertyChangeActions": [
|
|
{
|
|
"$type": "SendCustomEvent",
|
|
"EventKey": "Zhenzhen_ApplySwitchPhase_Attack",
|
|
"IsInstant": true,
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByPlayerPropertyValue",
|
|
"CompareType": "GreaterEqual",
|
|
"CustomNumerator": "EnhanceCount",
|
|
"IsUsePercent": false,
|
|
"Numerator": "Custom",
|
|
"Target": "Self",
|
|
"Val1": 6
|
|
},
|
|
{
|
|
"$type": "ByNot",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByIsInZoneTags",
|
|
"Tags": [
|
|
"Zhenzhen_EnhanceMode"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByAbilitySpecial",
|
|
"CompareType": "Greater",
|
|
"Param": 0,
|
|
"ParamName": "AS_EnhanceCountChange",
|
|
"ParamType": "Integer",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByPlayerPropertyValue",
|
|
"CompareType": "GreaterEqual",
|
|
"CustomNumerator": "EnhanceCount",
|
|
"IsUsePercent": false,
|
|
"Numerator": "Custom",
|
|
"Target": "Self",
|
|
"Val1": 6
|
|
}
|
|
],
|
|
"FailureActions": [
|
|
{
|
|
"$type": "TriggerSoundAction",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByNot",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByIsInZoneTags",
|
|
"Tags": [
|
|
"Zhenzhen_EnhanceMode"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Target": "Self",
|
|
"soundActionKey": "SA_SFX_Char_Zhenzhen_Charge"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "TriggerSoundAction",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByNot",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByIsInZoneTags",
|
|
"Tags": [
|
|
"Zhenzhen_EnhanceMode"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Target": "Self",
|
|
"soundActionKey": "SA_SFX_Char_Zhenzhen_Charge_Finish"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByAbilitySpecial",
|
|
"CompareType": "Less",
|
|
"Param": 0,
|
|
"ParamName": "AS_EnhanceCountChange",
|
|
"ParamType": "Integer",
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "ByPlayerPropertyValue",
|
|
"CompareType": "Less",
|
|
"CustomNumerator": "EnhanceCount",
|
|
"IsUsePercent": false,
|
|
"Numerator": "Custom",
|
|
"Target": "Self",
|
|
"Val1": 6
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "SendCustomEvent",
|
|
"EventKey": "Zhenzhen_RemoveSwitchPhase_Attack",
|
|
"IsInstant": true,
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByAbilitySpecial",
|
|
"CompareType": "NotEqual",
|
|
"Param": 0,
|
|
"ParamName": "AS_EnhanceCountChange",
|
|
"ParamType": "Integer",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "SendCustomEvent",
|
|
"EventKey": "Zhenzhen_RefreshBreathEffect",
|
|
"IsInstant": true,
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"IsSaveToSpecial": true,
|
|
"IsUsePercentage": false,
|
|
"NameSaveToSpecial": "AS_EnhanceCountChange",
|
|
"NameSaveToSpecialPotential": "AS_EnhanceCountChange_Potential",
|
|
"PropertyPotentialValueChangeActions": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByAbilitySpecial",
|
|
"CompareType": "Greater",
|
|
"Param": 0,
|
|
"ParamName": "AS_EnhanceCountChange_Potential",
|
|
"ParamType": "Integer",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "Zhenzhen_ReserveEnhanceCountModifier",
|
|
"StackCount": "%AS_EnhanceCountChange_Potential",
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "SetAbilitySpecialAction",
|
|
"DoRefresh": true,
|
|
"ModifyFunction": "Replace",
|
|
"Param": 0,
|
|
"ParamName": "AS_EnhanceCountChange_Potential",
|
|
"ParamType": "Integer",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PropertyType": "Custom",
|
|
"RefCustomPropertyType": "MaxEnhanceCount",
|
|
"RefPropertyType": "Custom"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"AbilityName": "Zhenzhen_UniqueSkill",
|
|
"AbilitySpecials": {
|
|
"AS_AddDamageRatio_Extra": {
|
|
"Value": 0,
|
|
"ValueType": "Float"
|
|
},
|
|
"AS_AddEnhanceCount_Current": {
|
|
"Value": 0,
|
|
"ValueType": "Float"
|
|
},
|
|
"AS_AddEnhanceCount_Div": {
|
|
"Value": 0,
|
|
"ValueType": "Integer"
|
|
},
|
|
"AS_AddEnhanceCount_Temp": {
|
|
"Value": 0,
|
|
"ValueType": "Float"
|
|
},
|
|
"AS_AddEnhanceCount_Threshold": {
|
|
"Value": 0.25,
|
|
"ValueType": "Float"
|
|
},
|
|
"AS_AddedDamageRatio": {
|
|
"Value": 0.15,
|
|
"ValueType": "Float"
|
|
},
|
|
"AS_AddedDamageRatio_Final": {
|
|
"Value": 0,
|
|
"ValueType": "Float"
|
|
},
|
|
"AS_CriticalDelta": {
|
|
"Value": 0.1,
|
|
"ValueType": "Float"
|
|
},
|
|
"AS_EnhanceCountChange": {
|
|
"Value": 0,
|
|
"ValueType": "Integer"
|
|
},
|
|
"AS_EnhanceCountChange_Potential": {
|
|
"Value": 0,
|
|
"ValueType": "Integer"
|
|
},
|
|
"AS_ExSP_AddEnhanceCount": {
|
|
"Value": 1,
|
|
"ValueType": "Integer"
|
|
},
|
|
"AS_IgnoreDefenceRatio_Talent01": {
|
|
"Value": 0,
|
|
"ValueType": "Float"
|
|
},
|
|
"AS_MaxReserveEnhanceCount": {
|
|
"Value": 3,
|
|
"ValueType": "Integer"
|
|
},
|
|
"AS_MaxSpaceDamageRatio": {
|
|
"Value": 1.1,
|
|
"ValueType": "Float"
|
|
},
|
|
"AS_RecoverRate": {
|
|
"Value": 1,
|
|
"ValueType": "Float"
|
|
}
|
|
},
|
|
"AbilityStacking": "Unique",
|
|
"DefaultModifier": {
|
|
"OnAdded": [
|
|
{
|
|
"$type": "SendCustomEvent",
|
|
"EventKey": "Zhenzhen_RefreshAddedDamageRatio",
|
|
"IsInstant": true
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "AttackBuffModifier",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"OnCustomEventReceived": [
|
|
{
|
|
"$type": "SetAbilitySpecialByExpression",
|
|
"DoRefresh": true,
|
|
"Expression": "specials(AS_AddedDamageRatio)+specials(AS_AddDamageRatio_Extra)",
|
|
"ParamName": "AS_AddedDamageRatio_Final",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByCustomEvent",
|
|
"EventKey": "Zhenzhen_RefreshAddedDamageRatio"
|
|
}
|
|
],
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"OnPatternAttackLanded": [
|
|
{
|
|
"$type": "SetAbilitySpecialByExpressionListAction",
|
|
"Expressions": [
|
|
{
|
|
"AbilitySpecialName": "AS_AddEnhanceCount_Temp",
|
|
"Expression": "{0}*{1}"
|
|
}
|
|
],
|
|
"Params": [
|
|
{
|
|
"$type": "ExpressionParamAttackData",
|
|
"AttackDataType": "AttackPropertyCustom",
|
|
"AttackPropertyDataIndex": 0,
|
|
"ParamType": "AttackData"
|
|
},
|
|
{
|
|
"$type": "ExpressionParamAbilitySpecial",
|
|
"AbilitySpecialKey": "AS_RecoverRate",
|
|
"ParamType": "AbilitySpecial"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByAbilitySpecial",
|
|
"CompareType": "Greater",
|
|
"Param": 0,
|
|
"ParamName": "AS_AddEnhanceCount_Temp",
|
|
"ParamType": "Float",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByPlayerPropertyValue",
|
|
"CompareType": "Less",
|
|
"CustomNumerator": "EnhanceCount",
|
|
"IsUsePercent": false,
|
|
"Numerator": "Custom",
|
|
"Target": "Self",
|
|
"Val1": 6
|
|
}
|
|
],
|
|
"FailureActions": [
|
|
{
|
|
"$type": "SendCustomEvent",
|
|
"EventKey": "Zhenzhen_ApplySwitchPhase_Attack",
|
|
"IsInstant": true,
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByPlayerPropertyValue",
|
|
"CompareType": "GreaterEqual",
|
|
"CustomNumerator": "EnhanceCount",
|
|
"IsUsePercent": false,
|
|
"Numerator": "Custom",
|
|
"Target": "Self",
|
|
"Val1": 6
|
|
},
|
|
{
|
|
"$type": "ByNot",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByIsInZoneTags",
|
|
"Tags": [
|
|
"Zhenzhen_EnhanceMode"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "ByNot",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByIsInZoneTags",
|
|
"Tags": [
|
|
"Zhenzhen_SwitchPhase_Attack_Ready"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "SetAbilitySpecialAction",
|
|
"DoRefresh": true,
|
|
"ModifyFunction": "Add",
|
|
"Param": "%AS_AddEnhanceCount_Temp",
|
|
"ParamName": "AS_AddEnhanceCount_Current",
|
|
"ParamType": "Float"
|
|
},
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByAbilitySpecial",
|
|
"CompareType": "GreaterEqual",
|
|
"Param": "%AS_AddEnhanceCount_Threshold",
|
|
"ParamName": "AS_AddEnhanceCount_Current",
|
|
"ParamType": "Float",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "SetAbilitySpecialByExpression",
|
|
"DoRefresh": true,
|
|
"Expression": "specials(AS_AddEnhanceCount_Current)\/specials(AS_AddEnhanceCount_Threshold)",
|
|
"ParamName": "AS_AddEnhanceCount_Div",
|
|
"ValueType": "Integer"
|
|
},
|
|
{
|
|
"$type": "ModifyProperty",
|
|
"Amount": "%AS_AddEnhanceCount_Div",
|
|
"CustomPropertyType": "EnhanceCount",
|
|
"IsUsePercentage": false,
|
|
"Percentage": 0,
|
|
"PropertyModifyFunction": "Add",
|
|
"PropertyType": "Custom"
|
|
},
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByPlayerPropertyValue",
|
|
"CompareType": "GreaterEqual",
|
|
"CustomNumerator": "EnhanceCount",
|
|
"IsUsePercent": false,
|
|
"Numerator": "Custom",
|
|
"Target": "Self",
|
|
"Val1": 6
|
|
}
|
|
],
|
|
"FailureActions": [
|
|
{
|
|
"$type": "SetAbilitySpecialAction",
|
|
"DoRefresh": true,
|
|
"ModifyFunction": "Mod",
|
|
"Param": "%AS_AddEnhanceCount_Threshold",
|
|
"ParamName": "AS_AddEnhanceCount_Current",
|
|
"ParamType": "Float"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "SetAbilitySpecialAction",
|
|
"DoRefresh": true,
|
|
"ModifyFunction": "Replace",
|
|
"Param": 0,
|
|
"ParamName": "AS_AddEnhanceCount_Current",
|
|
"ParamType": "Float"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "Zhenzhne_UI_MuteSyncCustomPropertyModifier",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "ModifyProperty",
|
|
"Amount": "%AS_AddEnhanceCount_Current",
|
|
"CustomPropertyType": "AddEnhanceCount_Current",
|
|
"IsUsePercentage": false,
|
|
"Percentage": 0,
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByHasModifier",
|
|
"ModifierNameList": [
|
|
"Zhenzhne_UI_MuteSyncCustomPropertyModifier"
|
|
],
|
|
"OperatorType": "Not"
|
|
}
|
|
],
|
|
"PropertyModifyFunction": "Replace",
|
|
"PropertyType": "Custom"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnSkillStart": [
|
|
{
|
|
"$type": "ModifyProperty",
|
|
"Amount": "%AS_ExSP_AddEnhanceCount",
|
|
"CustomPropertyType": "EnhanceCount",
|
|
"IsUsePercentage": false,
|
|
"Percentage": 0,
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByFromSkillID",
|
|
"SkillID": "Zhenzhen_ExSp_P1"
|
|
}
|
|
],
|
|
"PropertyModifyFunction": "Add",
|
|
"PropertyType": "Custom"
|
|
}
|
|
]
|
|
},
|
|
"Modifiers": {
|
|
"AttackBuffModifier": {
|
|
"Duration": -1,
|
|
"IgnoreTimeScale": false,
|
|
"MaxStackingNumber": 1,
|
|
"ModifierStacking": "Unique",
|
|
"OnHitOther": [
|
|
{
|
|
"$type": "ModifyAttackDataAction",
|
|
"MpExecMode": "MpTotallyLocal",
|
|
"PropertyKey": "Actor_DefenceRatio",
|
|
"PropertyValue": "%AS_IgnoreDefenceRatio_Talent01",
|
|
"Target": "Other"
|
|
}
|
|
],
|
|
"Properties": {
|
|
"Actor_AddedDamageRatio": "%AS_AddedDamageRatio_Final",
|
|
"Actor_CriticalDelta": "%AS_CriticalDelta"
|
|
}
|
|
},
|
|
"BuffIconModifier": {
|
|
"Buff": {
|
|
"BuffID": 3000496,
|
|
"IsOverrideDuration": true
|
|
},
|
|
"Duration": -1,
|
|
"IgnoreTimeScale": false,
|
|
"MaxStackingNumber": 6,
|
|
"ModifierStacking": "MultipleAllRefreshNotReplace"
|
|
},
|
|
"Zhenzhen_ReserveEnhanceCountModifier": {
|
|
"Duration": -1,
|
|
"IgnoreTimeScale": false,
|
|
"MaxStackingNumber": "%AS_MaxReserveEnhanceCount",
|
|
"ModifierStacking": "MultipleAllRefreshNotReplace",
|
|
"OnAdded": [
|
|
{
|
|
"$type": "AttachModifier",
|
|
"ModifierName": "BuffIconModifier",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"OnCustomEventReceived": [
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"ModifierName": "Zhenzhen_ReserveEnhanceCountModifier",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByCustomEvent",
|
|
"EventKey": "Zhenzhen_SwitchPhase_CloseThemeSpace"
|
|
}
|
|
],
|
|
"StackCount": 99
|
|
}
|
|
],
|
|
"OnRemoved": [
|
|
{
|
|
"$type": "ModifyProperty",
|
|
"Amount": 1,
|
|
"CustomPropertyType": "EnhanceCount",
|
|
"IsUsePercentage": false,
|
|
"Percentage": 0,
|
|
"PropertyModifyFunction": "Add",
|
|
"PropertyType": "Custom"
|
|
}
|
|
]
|
|
},
|
|
"Zhenzhne_UI_MuteSyncCustomPropertyModifier": {
|
|
"Duration": 0.35,
|
|
"IgnoreTimeScale": false,
|
|
"ModifierStacking": "Replace",
|
|
"OnAdded": [
|
|
{
|
|
"$type": "ModifyProperty",
|
|
"Amount": 1,
|
|
"CustomPropertyType": "AddEnhanceCount_Current",
|
|
"IsUsePercentage": false,
|
|
"Percentage": 0,
|
|
"PropertyModifyFunction": "Replace",
|
|
"PropertyType": "Custom"
|
|
}
|
|
],
|
|
"OnRemoved": [
|
|
{
|
|
"$type": "ModifyProperty",
|
|
"Amount": "%AS_AddEnhanceCount_Current",
|
|
"CustomPropertyType": "AddEnhanceCount_Current",
|
|
"IsUsePercentage": false,
|
|
"Percentage": 0,
|
|
"PropertyModifyFunction": "Replace",
|
|
"PropertyType": "Custom"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"OnAbilityStart": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "Zhenzhen_ReserveEnhanceCountModifier",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
} |