1
0
ZenlessData/Data/_unsorted/Jufufu_Pot_AttackManager.json

428 lines
12 KiB
JSON

{
"AbilityMixins": [
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "Spin_Loop",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"SpinMoveModifier",
"HotSpinnerModifier"
]
}
]
},
{
"$type": "ActwithStateFrameMixin",
"ConfigList": [
{
"ActionList": [
{
"$type": "PushQTEChainOnlyOnceLimitAction",
"Target": "Self"
},
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"PushQTEChainOnlyOnceLimit"
],
"IsAdd": true
}
],
"AnimatorStateName": "SwitchIn_Attack_Explode",
"ForceTriggerOnTransitionIn": false,
"ForceTriggerOnTransitionOut": true,
"Frame": 49,
"IsLoop": false,
"LayerIndex": 0
},
{
"ActionList": [
{
"$type": "PopQTEChainOnlyOnceLimitAction",
"Target": "Self"
},
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"PushQTEChainOnlyOnceLimit"
],
"IsAdd": false
}
],
"AnimatorStateName": "SwitchIn_Attack_Explode",
"ForceTriggerOnTransitionIn": false,
"ForceTriggerOnTransitionOut": true,
"Frame": 60,
"IsLoop": false,
"LayerIndex": 0
}
]
}
],
"AbilityName": "Jufufu_Pot_AttackManager",
"AbilitySpecials": {
"AS_PotAttack_ExplodeRequireHot": {
"Value": 100,
"ValueType": "Float"
},
"AS_PotAttack_HotRecover": {
"Value": 20,
"ValueType": "Float"
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnHitOther": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Bool_IsSpinning",
"ParamType": 2,
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Jufufu_Attack_Spin_AttackProperty_01",
"Jufufu_Attack_Spin_Hot_AttackProperty_01"
]
}
],
"Target": "Self"
}
],
"OnPatternAttackLandedFinishedResolved": [
{
"$type": "ModifyProperty",
"Amount": "%AS_PotAttack_HotRecover",
"CustomKey": "AbilityTarget_Jufufu_FindJufufu",
"CustomPropertyType": "Fufu_Hotlimit",
"IsUsePercentage": false,
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Jufufu_Weapon_Attack_AttackProperty_01"
]
}
],
"PropertyModifyFunction": "Add",
"PropertyType": "Custom",
"Target": "Custom"
},
{
"$type": "TriggerAbilityAction",
"AbilityName": "Jufufu_ExplodeManager",
"CustomKey": "AbilityTarget_Jufufu_FindJufufu",
"Predicates": [
{
"$type": "ByPlayerPropertyValue",
"CompareType": "GreaterEqual",
"CustomKey": "AbilityTarget_Jufufu_FindJufufu",
"CustomNumerator": "Fufu_Hotlimit",
"IsUsePercent": false,
"Numerator": "Custom",
"Target": "Custom",
"Val1": "%AS_PotAttack_ExplodeRequireHot"
},
{
"$type": "ByIsLocalAvatar",
"CustomKey": "AbilityTarget_Jufufu_FindJufufu",
"IsLocalAvatar": false,
"Target": "Custom"
}
],
"Target": "Custom"
}
],
"OnThinkInterval": [
{
"$type": "TriggerAbilityAction",
"AbilityName": "Jufufu_Pot_HideManager",
"Predicates": [
{
"$type": "ByAbilityTargetCount",
"AbilityTargetKey": "AbilityTarget_Jufufu_FindClosestOtherTarget",
"CompareType": "LessEqual",
"CompareValue": 0,
"Target": "Self"
},
{
"$type": "ByInOutBattleStatus",
"CustomKey": "AbilityTarget_Jufufu_FindJufufu",
"IsInBattle": false,
"Target": "Custom"
}
]
}
],
"ThinkInterval": 3
},
"Modifiers": {
"DelayRemoveEffModifier": {
"Duration": 0.3,
"ModifierStacking": "Unique",
"OnRemoved": [
{
"$type": "RemoveModifier",
"ModifierName": "HotEffModifier"
},
{
"$type": "RemoveModifier",
"ModifierName": "NormalEffModifier"
}
]
},
"HotEffModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "AttachEffect",
"AttachEffectPosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": true,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": false,
"OffsetReferTarget": "Self"
}
},
"EffectPattern": "Eff_Jufufu_Attack_Spin_Loop_Accelerate_01_Trail",
"Target": "Self"
},
{
"$type": "ModifyMaterialPropertyAction",
"ApplyAllRenderers": true,
"Tag": "Avatar_Female_Size01_Jufufu_MA_Attack_Spin_Start_OverrideRimGlow_01",
"Target": "Self",
"key": "Avatar_Female_Size01_Jufufu_MA_Attack_Spin_Start_OverrideRimGlow_01"
}
],
"OnRemoved": [
{
"$type": "InterruptMaterialPropertyAction",
"Tag": "Avatar_Female_Size01_Jufufu_MA_Attack_Spin_Start_OverrideRimGlow_01",
"Target": "Self"
}
]
},
"HotSpinnerModifier": {
"ModifierMixins": [
{
"$type": "ListenAbilityMixin",
"AbilityName": "Jufufu_Pot_HideManager",
"OnListenAbilityStarted": [
{
"$type": "ApplyModifier",
"ModifierName": "DelayRemoveEffModifier"
}
],
"Targetting": "Self"
}
],
"OnAdded": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByHasBuffID",
"BuffIDList": [
"3000431"
],
"CustomKey": "AbilityTarget_Jufufu_FindJufufu",
"Target": "Custom"
}
],
"FailureActions": [
{
"$type": "ApplyModifier",
"ModifierName": "NormalEffModifier"
}
],
"SuccessActions": [
{
"$type": "ApplyModifier",
"ModifierName": "HotEffModifier"
}
]
}
],
"OnRemoved": [
{
"$type": "RemoveModifier",
"ModifierName": "HotEffModifier"
},
{
"$type": "RemoveModifier",
"ModifierName": "NormalEffModifier"
}
]
},
"NormalEffModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "AttachEffect",
"AttachEffectPosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": true,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": false,
"OffsetReferTarget": "Self"
}
},
"EffectPattern": "Eff_Jufufu_Attack_Spin_Loop_Accelerate_02_Trail",
"Target": "Self"
},
{
"$type": "ModifyMaterialPropertyAction",
"ApplyAllRenderers": true,
"Tag": "Avatar_Female_Size01_Jufufu_MA_Attack_Spin_Start_SecondaryEmission_02",
"Target": "Self",
"key": "Avatar_Female_Size01_Jufufu_MA_Attack_Spin_Start_SecondaryEmission_02"
}
],
"OnRemoved": [
{
"$type": "InterruptMaterialPropertyAction",
"Tag": "Avatar_Female_Size01_Jufufu_MA_Attack_Spin_Start_SecondaryEmission_02",
"Target": "Self"
}
]
},
"SpinMoveModifier": {
"Duration": 10,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "HandleAnimEvent",
"AnimEventID": "Jufufu_Attack_Spin_AttackProperty_01",
"Predicates": [
{
"$type": "ByBuffCount",
"BuffID": 3000431,
"CompareType": "LessEqual",
"CustomKey": "AbilityTarget_Jufufu_FindJufufu",
"StackCount": 0,
"Target": "Custom"
}
]
},
{
"$type": "HandleAnimEvent",
"AnimEventID": "Jufufu_Attack_Spin_Hot_AttackProperty_01",
"Predicates": [
{
"$type": "ByBuffCount",
"BuffID": 3000431,
"CompareType": "Greater",
"CustomKey": "AbilityTarget_Jufufu_FindJufufu",
"StackCount": 0,
"Target": "Custom"
}
]
},
{
"$type": "ApplyLogicMoveAction",
"MovementConfig": {
"$type": "ConfigMovementSimple",
"Acceleration": {
"x": 0,
"y": 0,
"z": 0
},
"CoordinateType": "Local",
"Duration": -1,
"Gravity": 0,
"HitNormalRatio": 1,
"HitTangentialRatio": 1,
"InitVelocity": {
"x": 0,
"y": 0,
"z": 8
},
"TimesUpMoveOption": "Remain"
},
"RotationConfig": {
"$type": "ConfigRotationToTarget",
"Duration": -1,
"FreezeRotateXZ": false,
"FreezeRotateY": false,
"ReachTargetStop": false,
"RotateSpeed": 200,
"RotateType": "Fixed",
"TargetPosRot": {
"CoordsOption": "Relative",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": true,
"OffsetReferTarget": "Target"
}
},
"TargetUpdateMode": "Always"
},
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Bool_IsSpinning",
"ParamType": 2,
"Target": "Self"
}
]
}
}
}