Files
FireflyGo_Resources/Config/ConfigAdventureAbility/NpcMonster/NPCMonster_W1_Soldier04_00_Ability.json
2025-08-14 09:04:39 +07:00

246 lines
7.9 KiB
JSON

{
"AbilityList": [
{
"Name": "MazeMonster_W1_Soldier04_00_MazeAttack",
"TargetInfo": {
"TargetType": "SkillPointEntity"
},
"OnStart": [
{
"$type": "RPG.GameCore.LookAt",
"TargetType": "AbilityTargetEntity",
"Duration": 0.45
},
{
"$type": "RPG.GameCore.AdventureTriggerAnimStateWithMove",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"AnimLogicState": "NormalAtk",
"AnimStateName": "Attack",
"MovingRangeList": [
{
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AbilityTargetEntity"
},
"OffsetTargetDistance": {
"IsDynamic": false,
"FixedValue": {
"Value": 1
}
},
"NormalizedTimeStart": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.004999999655410647
}
},
"NormalizedTimeEnd": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.09399999980814755
}
},
"MaxMoveDistance": {
"IsDynamic": false,
"FixedValue": {
"Value": 1
}
},
"OnlyMoveForward": true,
"MaxSpeed": {
"IsDynamic": false,
"FixedValue": {
"Value": 60
}
},
"SteerNormalizedTimeStart": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.004999999655410647
}
},
"SteerNormalizedTimeEnd": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.1900000001769513
}
},
"MaxSteerSpeed": {
"IsDynamic": false,
"FixedValue": {
"Value": 300
}
}
}
]
},
{
"$type": "RPG.GameCore.WaitAnimState",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"AnimStateName": "Attack",
"NormalizedTimeEnd": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.3359999998938292
}
}
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByDistance",
"From": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"To": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AbilityTargetEntity"
},
"CompareType": "LessEqual",
"CompareValue": {
"IsDynamic": false,
"FixedValue": {
"Value": 6
}
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.AdventureFireProjectile",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "None"
},
"Projectile": {
"ColliderTemplate": "CapsuleZ_MazeCommonBullet",
"Behavior": "LinearWithHitDetect",
"FlySpeed": 16,
"EnableRayCast": true,
"Gravity": -29,
"MaxLifeTime": 4,
"AttachPoint": "Gun",
"AlignWithAttachPoint": true,
"AttachPointAxis": "Z",
"TargetAttachPoint": "Root",
"FlyEffect": "Effects/Eff_Prefab/Eff_Monster/Eff_W1_Soldier04_00/Eff_Monster_W1_Soldier04_00_MazeAttack_Bullet.prefab",
"HitEffect": "Effects/Eff_Prefab/Eff_Monster/Eff_W1_Soldier04_00/Eff_Monster_W1_Soldier04_00_MazeAttack_Hit.prefab"
},
"OnProjectileHit": [
{
"$type": "RPG.GameCore.AdventureTriggerAttack",
"AttackTargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllEnemy"
},
"AttackRootTargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ProjectileHitEntity"
},
"TriggerBattleDelay": 0.1,
"AttackDetectConfig": {
"$type": "RPG.GameCore.AdventureAttackDetectCircleConfig",
"Offset": {
"x": 0,
"y": -1,
"z": 0
},
"MaxRadius": 1.5,
"FanAngle": 360,
"Hight": 3
},
"HitConfig": {
"HitAnimation": "Hit"
}
},
{
"$type": "RPG.GameCore.VCameraConfigChange",
"CameraConfig": {
"ShakeTemplateName": "Impact_Middle"
}
}
]
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.AdventureFireProjectile",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "None"
},
"Projectile": {
"ColliderTemplate": "CapsuleZ_MazeCommonBullet",
"Behavior": "LinearWithHitDetect",
"FlySpeed": 19,
"EnableRayCast": true,
"Gravity": -26,
"MaxLifeTime": 6,
"AttachPoint": "Gun",
"AlignWithAttachPoint": true,
"AttachPointAxis": "Z",
"TargetAttachPoint": "Root",
"FlyEffect": "Effects/Eff_Prefab/Eff_Monster/Eff_W1_Soldier04_00/Eff_Monster_W1_Soldier04_00_MazeAttack_Bullet.prefab",
"HitEffect": "Effects/Eff_Prefab/Eff_Monster/Eff_W1_Soldier04_00/Eff_Monster_W1_Soldier04_00_MazeAttack_Hit.prefab"
},
"OnProjectileHit": [
{
"$type": "RPG.GameCore.AdventureTriggerAttack",
"AttackTargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllEnemy"
},
"AttackRootTargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ProjectileHitEntity"
},
"TriggerBattleDelay": 0.1,
"AttackDetectConfig": {
"$type": "RPG.GameCore.AdventureAttackDetectCircleConfig",
"Offset": {
"x": 0,
"y": -1,
"z": 0
},
"MaxRadius": 1.5,
"FanAngle": 360,
"Hight": 3
},
"HitConfig": {
"HitAnimation": "Hit"
}
},
{
"$type": "RPG.GameCore.VCameraConfigChange",
"CameraConfig": {
"ShakeTemplateName": "Impact_Middle"
}
}
]
}
]
},
{
"$type": "RPG.GameCore.WaitAnimState",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"AnimStateName": "Attack",
"NormalizedTimeEnd": {
"IsDynamic": false,
"FixedValue": {
"Value": 1
}
}
}
]
}
]
}