1
0
ZenlessData/Data/_unsorted/Huskron_Defence.json

404 lines
10 KiB
JSON

{
"AbilityMixins": [
{
"$type": "FieldRangeMixin",
"AllowActor": true,
"ColliderConfig": {
"ColliderAngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"ColliderPosOffset": {
"x": 0,
"y": 0,
"z": 0
},
"ColliderType": "FanCylinder",
"FanCylinderColliderAngle": 360,
"FanCylinderColliderHeight": 2,
"FanCylinderColliderRadius": 15,
"FanCylinderColliderVertexNum": 48
},
"FieldEnterActions": [
{
"$type": "ApplyModifier",
"ModifierName": "PlayerSkillStartCheck_Modifier",
"Predicates": [
{
"$type": "ByIsLocalAvatar",
"IsLocalAvatar": true,
"Target": "Target"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Alert_IdleState"
]
}
],
"Target": "Self"
}
],
"Target": "Other"
}
],
"FieldExitActions": [
{
"$type": "RemoveModifier",
"ModifierName": "PlayerSkillStartCheck_Modifier",
"Target": "Other"
}
],
"FieldInitPosRot": {
"CoordsOption": "ReferTarget",
"NeedRaycastGround": true,
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": false,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0.1,
"z": 0
},
"RandomPositionRange": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"OffsetReferTarget": "Self"
}
},
"IsFollow": true,
"TotalDuration": -1
},
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "Attack_2_Start",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"Modifier_DefenceCounterCheck",
"Modifier_DefenceDamageTakeRatio"
]
},
{
"AnimatorStateName": "Attack_2_Loop",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"Modifier_DefenceCounterCheck",
"Modifier_DefenceDamageTakeRatio",
"Modifier_DefenceEffect01"
]
},
{
"AnimatorStateName": "Attack_2_End",
"FrameCountHigh": 18,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": false,
"MaxFrameCountLow": false,
"ModifierNameList": [
"Modifier_DefenceDamageTakeRatio"
]
}
]
}
],
"AbilityName": "Huskron_Defence",
"AbilitySpecials": {
"AS_BeHitCount": {
"Value": 0
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
},
"Modifiers": {
"DefenceMode_Modifier": {
"Duration": 10,
"IgnoreTimeScale": false,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 1,
"ParamName": "Int_DefenceMode",
"ParamType": 3,
"Target": "Self"
},
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 2,
"ParamName": "Int_AttackIndex",
"ParamType": 3,
"Target": "Self"
},
{
"$type": "SetAnimCtrlerParamAction",
"ParamName": "Trigger_PressAttackA",
"ParamType": 1,
"Target": "Self"
},
{
"$type": "WriteAIParamAction",
"FloatParamValue": 0,
"ParamName": "AttackCD",
"Target": "Self"
},
{
"$type": "WriteAIParamAction",
"BoolParamValue": true,
"ParamName": "ReadyToAttack",
"Target": "Self"
},
{
"$type": "WriteAIParamAction",
"BoolParamValue": true,
"ParamName": "DefenceSuccess",
"Target": "Self"
}
]
},
"Modifier_DefenceCounter": {
"Duration": -1,
"IgnoreTimeScale": false,
"ModifierStacking": "Unique",
"OnBeingHit": [
{
"$type": "ApplyModifier",
"ModifierName": "Modifier_DefenceCounterCount",
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "Modifier_DefenceCounter",
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "Modifier_RealEffect",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Greater",
"Param": 2,
"ParamName": "AS_BeHitCount",
"ParamType": "Integer",
"Target": "Self"
}
],
"Target": "Self"
}
]
},
"Modifier_DefenceCounterCheck": {
"Duration": -1,
"IgnoreTimeScale": false,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "ApplyModifier",
"ModifierName": "Modifier_DefenceCounter",
"Target": "Self"
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Trigger_CounterSkill_01",
"ParamType": 1,
"Target": "Self"
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Trigger_CounterSkill_02",
"ParamType": 1,
"Target": "Self"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0,
"ParamName": "AS_BeHitCount",
"ParamType": "Integer"
},
{
"$type": "WriteAIParamAction",
"BoolParamValue": true,
"ParamName": "IsDefenceState",
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "RemoveModifier",
"ModifierName": "Modifier_DefenceCounter",
"Target": "Self"
},
{
"$type": "WriteAIParamAction",
"BoolParamValue": false,
"ParamName": "IsDefenceState",
"Target": "Self"
}
]
},
"Modifier_DefenceCounterCount": {
"Duration": 0.5,
"IgnoreTimeScale": false,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Add",
"Param": 1,
"ParamName": "AS_BeHitCount",
"ParamType": "Integer"
}
]
},
"Modifier_DefenceDamageTakeRatio": {
"ModifierStacking": "Unique",
"Properties": {
"Actor_DamageTakeRatio": -0.9
}
},
"Modifier_DefenceEffect01": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "ModifyMaterialPropertyAction",
"RendererList": [
{
"ApplyAllMaterials": true,
"RenderPath": "Monster_Huskron_Hand_L_01"
},
{
"ApplyAllMaterials": true,
"RenderPath": "Monster_Huskron_Hand_L_02"
},
{
"ApplyAllMaterials": true,
"RenderPath": "Monster_Huskron_Hand_R_01"
},
{
"ApplyAllMaterials": true,
"RenderPath": "Monster_Huskron_Hand_R_02"
}
],
"Tag": "Monster_Huskron_MA_Attack_02_Loop_OverrideRimGlow_01",
"Target": "Self",
"key": "Monster_Huskron_MA_Attack_02_Loop_OverrideRimGlow_01"
}
],
"OnRemoved": [
{
"$type": "InterruptMaterialPropertyAction",
"Tag": "Monster_Huskron_MA_Attack_02_Loop_OverrideRimGlow_01",
"Target": "Self"
}
]
},
"Modifier_RealEffect": {
"Duration": 1,
"IgnoreTimeScale": false,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "RandomOperator",
"Odds": 0.5,
"OnFailure": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Trigger_CounterSkill_02",
"ParamType": 1,
"Target": "Self"
}
],
"OnSuccess": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Trigger_CounterSkill_01",
"ParamType": 1,
"Target": "Self"
}
]
}
]
},
"PlayerSkillStartCheck_Modifier": {
"Duration": -1,
"IgnoreTimeScale": false,
"ModifierStacking": "Unique",
"OnSkillStart": [
{
"$type": "ApplyModifier",
"ModifierName": "DefenceMode_Modifier",
"Predicates": [
{
"$type": "ByAngleRange",
"AngleMax": 45,
"AngleMin": -45,
"CompareTarget": "LocalAvatar",
"Target": "Self"
},
{
"$type": "ByDistance",
"CompareTarget": "SelfAttackTarget",
"CompareType": "Less",
"Distance": 10,
"Target": "Self"
},
{
"$type": "ByIsInZoneTags",
"Tags": [
"IsCanDefence"
],
"Target": "Caster"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"BreakTag"
],
"Target": "Caster"
}
]
}
],
"Target": "Caster"
}
]
}
}
}