ZenlessData/Data/Bangboo_Amillion001_EnemyCheck.json
2024-09-23 09:11:37 -03:00

151 lines
4.1 KiB
JSON

{
"AbilityMixins": [
{
"$type": "ActionsOnPropertyChangeMixin",
"PropertyActions": [
{
"CustomPropertyType": "EnemiesNum_InRange",
"CustomReferMaxPropertyType": "EnemiesNum_InRange_Max",
"IsUsePercentage": false,
"PropertyType": "Custom",
"ReferMaxPropertyType": "Custom",
"ValueRangeActions": [
{
"LowToValueActions": [
{
"$type": "WriteAIParamAction",
"BoolParamValue": false,
"ParamName": "Bool_NoEnermyInRange",
"Target": "Self"
}
],
"Val": 1
},
{
"HighToValueActions": [
{
"$type": "WriteAIParamAction",
"BoolParamValue": true,
"ParamName": "Bool_NoEnermyInRange",
"Target": "Self"
}
],
"Val": 0
}
]
}
]
}
],
"AbilityName": "Bangboo_Amillion001_EnemyCheck",
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAdded": [
{
"$type": "ApplyModifier",
"ModifierName": "EnemyCheckModifer",
"Target": "Self"
}
]
},
"Modifiers": {
"EnemyCheckModifer": {
"Duration": -1,
"IgnoreTimeScale": false,
"ModifierMixins": [
{
"$type": "FieldRangeMixin",
"ColliderConfig": {
"ColliderAngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"ColliderPosOffset": {
"x": 0,
"y": 1,
"z": 0
},
"ColliderType": "FanCylinder",
"FanCylinderColliderAngle": 360,
"FanCylinderColliderHeight": 2,
"FanCylinderColliderRadius": 2,
"FanCylinderColliderVertexNum": 24
},
"FieldEnterActions": [
{
"$type": "ModifyProperty",
"Amount": 1,
"CustomPropertyType": "EnemiesNum_InRange",
"IsUsePercentage": false,
"Percentage": 0,
"Predicates": [
{
"$type": "ByRelativeCampType",
"Relationship": "Enemy",
"Target": "Target"
}
],
"PropertyModifyFunction": "Add",
"PropertyType": "Custom"
}
],
"FieldExitActions": [
{
"$type": "ModifyProperty",
"Amount": -1,
"CustomPropertyType": "EnemiesNum_InRange",
"IsUsePercentage": false,
"Percentage": 0,
"Predicates": [
{
"$type": "ByRelativeCampType",
"Relationship": "Enemy",
"Target": "Target"
}
],
"PropertyModifyFunction": "Add",
"PropertyType": "Custom"
}
],
"FieldInitPosRot": {
"CoordsOption": "Self",
"NeedRaycastGround": true,
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": false,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"OffsetReferTarget": "Self"
}
},
"FieldStopActions": [
{
"$type": "ModifyProperty",
"Amount": 0,
"CustomPropertyType": "EnemiesNum_InRange",
"IsUsePercentage": false,
"Percentage": 0,
"PropertyModifyFunction": "Replace",
"PropertyType": "Custom"
}
],
"IsFollow": true,
"TotalDuration": -1
}
],
"ModifierStacking": "Unique"
}
}
}