1
0
ZenlessData/Data/_unsorted/YiXuan_Talent_01.json

311 lines
8.0 KiB
JSON

{
"AbilityName": "YiXuan_Talent_01",
"AbilitySpecials": {
"AS_AddedAttackDelta": {
"Value": 0
},
"AS_CDDuration": {
"Value": 8
},
"AS_CritRatioDelta_Talent_01": {
"Value": 0.12
},
"AS_Magnification": {
"Value": 10
},
"AS_RecoverFeverCD": {
"Value": 180,
"ValueType": "Float"
},
"AS_RecoverFeverCD_Cache": {
"Value": 0,
"ValueType": "Float"
},
"AS_RecoverFeverCD_Real": {
"Value": 0,
"ValueType": "Float"
},
"AS_RpRecover": {
"Value": 10
},
"RecoverFuLu": {
"Value": 120
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAdded": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByGameContextType",
"GameType": "StreamingGame",
"SubGameType": "All"
}
],
"FailureActions": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0,
"ParamName": "AS_RecoverFeverCD_Real",
"ParamType": "Float"
}
],
"SuccessActions": [
{
"$type": "SetAbilitySpecialByExpression",
"Expression": "scenevar(AS_RecoverFeverCD_Real)",
"ParamName": "AS_RecoverFeverCD_Real",
"Target": "Self",
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": "%AS_RecoverFeverCD_Real",
"ParamName": "AS_RecoverFeverCD_Cache",
"ParamType": "Float"
}
]
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAbilitySpecial",
"CompareType": "LessEqual",
"Param": 0,
"ParamName": "AS_RecoverFeverCD_Real",
"ParamType": "Float"
}
],
"FailureActions": [
{
"$type": "ApplyModifier",
"ModifierName": "SmoothDecreaseCDModifier",
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "ModifyProperty",
"Amount": "%RecoverFuLu",
"CustomPropertyType": "YiXuan_FuLu",
"IsUsePercentage": false,
"PropertyModifyFunction": "Add",
"PropertyType": "Custom",
"Target": "Caster"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": "%AS_RecoverFeverCD",
"ParamName": "AS_RecoverFeverCD_Real",
"ParamType": "Float"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": "%AS_RecoverFeverCD",
"ParamName": "AS_RecoverFeverCD_Cache",
"ParamType": "Float"
},
{
"$type": "ApplyModifier",
"ModifierName": "SmoothDecreaseCDModifier",
"Target": "Self"
}
]
},
{
"$type": "ApplyModifier",
"ModifierName": "TeamListenModifier",
"Target": "TeamAvatars"
},
{
"$type": "ApplyAbilityAction",
"AbilityName": "YiXuan_Talent_01_Lightning",
"IsAutoTrigger": false,
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "YiXuan_CriUpTalent01_Modifier",
"Target": "Caster"
}
],
"OnHitOtherPre": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"YiXuan_Attack_Aid_Thurder_AttackProperty_01_Talent_01"
]
}
],
"SuccessActions": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "property(SkipDefAttack_Battle)*specials(AS_Magnification)",
"ParamName": "AS_AddedAttackDelta",
"Target": "Caster",
"ValueType": "Float"
},
{
"$type": "ModifyAttackDataAction",
"PropertyKey": "Actor_AddedAttackDelta",
"PropertyValue": "%AS_AddedAttackDelta",
"Target": "Caster"
}
]
}
]
},
"Modifiers": {
"AttackMarkModifier": {
"Duration": 2,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"YiXuan_Talent_01_Target"
],
"IsAdd": true
},
{
"$type": "TriggerAbilityAction",
"AbilityName": "YiXuan_Talent_01_Lightning",
"PosRotConfig": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": false,
"IsUseRotationY": false,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"OffsetReferTarget": "Self"
}
},
"Target": "Caster"
},
{
"$type": "ApplyModifier",
"ModifierName": "ThunderAttackModifier",
"Target": "Caster"
}
],
"OnRemoved": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"YiXuan_Talent_01_Target"
],
"IsAdd": false
}
]
},
"SmoothDecreaseCDModifier": {
"Duration": "%AS_RecoverFeverCD",
"ModifierMixins": [
{
"$type": "SmoothBlendAbilitySpecialMixin",
"AbilitySpecial": "AS_RecoverFeverCD_Real",
"BlendCurve": "Linear",
"BlendTime": "%AS_RecoverFeverCD_Cache",
"TargetValue": 0
}
],
"ModifierStacking": "Unique",
"OnThinkInterval": [
{
"$type": "RemoveModifier",
"ModifierName": "SmoothDecreaseCDModifier",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "LessEqual",
"Param": 0,
"ParamName": "AS_RecoverFeverCD_Real",
"ParamType": "Float"
}
],
"Target": "Self"
}
],
"ThinkInterval": 0.1
},
"TeamListenModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnPatternAttackLanded": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByHeavyAttack",
"IsHeavyAttack": true
},
{
"$type": "ByEntityType",
"EntityType": "Monster",
"Target": "Other"
}
],
"SuccessActions": [
{
"$type": "ApplyModifier",
"ModifierName": "AttackMarkModifier",
"Target": "Other"
}
]
}
]
},
"ThunderAttackModifier": {
"Duration": "%AS_CDDuration",
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "RecoverRpAction",
"Amount": "%AS_RpRecover"
},
{
"$type": "RemoveModifier",
"ModifierName": "TeamListenModifier",
"Target": "TeamAvatars"
}
],
"OnRemoved": [
{
"$type": "ApplyModifier",
"ModifierName": "TeamListenModifier",
"Target": "TeamAvatars"
}
]
},
"YiXuan_CriUpTalent01_Modifier": {
"Duration": -1,
"IgnoreTimeScale": false,
"ModifierStacking": "Unique",
"Properties": {
"Actor_CriticalDelta": "%AS_CritRatioDelta_Talent_01"
}
}
}
}