Files
FireflyGo_Resources/Config/ConfigAdventureAbility/NpcMonster/NPCMonster_W4_Shooter_01_Ability.json
2025-08-15 08:08:45 +07:00

280 lines
8.5 KiB
JSON

{
"AbilityList": [
{
"Name": "MazeMonster_W4_Shooter_01_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"
},
"SteerNormalizedTimeStart": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.004999999655410647
}
},
"SteerNormalizedTimeEnd": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.31000000028871
}
},
"MaxSteerSpeed": {
"IsDynamic": false,
"FixedValue": {
"Value": 300
}
}
}
]
},
{
"$type": "RPG.GameCore.StartAim",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AbilityTargetEntity"
},
"TargetAttachPoint": "Head",
"HorizontalAlpha": 0.4,
"TraceTarget": true,
"LimitTargetRange": {
"x": 4,
"y": 1
}
},
{
"$type": "RPG.GameCore.WaitAnimState",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"AnimStateName": "Attack",
"NormalizedTimeEnd": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.3449999999720603
}
}
},
{
"$type": "RPG.GameCore.AdventureFireProjectile",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "None"
},
"Projectile": {
"ColliderTemplate": "CapsuleZ_MazeCommonBullet",
"Behavior": "LinearWithHitDetect",
"FlySpeed": 50,
"EnableRayCast": true,
"Gravity": 0,
"MaxLifeTime": 5,
"AttachPoint": "Gun",
"AlignWithAttachPoint": true,
"AttachPointAxis": "Z",
"AttachOffset": {
"x": 0,
"y": 0.11,
"z": 0.76
},
"TargetAttachPoint": "Root",
"FlyEffect": "Effects/Eff_Prefab/Eff_Monster/Eff_W4_Shooter_01/Eff_Monster_W4_Shooter_01_MazeAttack_Bullet.prefab",
"FlyEffectFadeOut": true,
"LinearPitchAngle": {
"IsDynamic": false,
"FixedValue": {
"Value": -5
}
}
},
"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",
"MaxRadius": 0.1,
"FanAngle": 360
},
"HitConfig": {
"HitAnimation": "Hit",
"HitEffect": "Effects/Eff_Prefab/Eff_Monster/Eff_W4_Shooter_01/Eff_Monster_W4_Shooter_01_Skill01_Hit.prefab"
}
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByTargetListIntersects",
"Inverse": true,
"FirstTargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ProjectileHitEntity"
},
"FirstTargetAliveOnly": false,
"SecondTargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ProjectileHitPos"
},
"SecondTargetAliveOnly": false
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.VCameraConfigChange",
"CameraConfig": {
"ShakeTemplateName": "Punch_Middle",
"OverrideShakeConfigV2": {
"ShakeScale": 0.4,
"ShakeTime": 0.2,
"ShakeDir": {
"x": 0,
"y": 0.1,
"z": 0
},
"RangeAttenuationDelay": 999,
"RangeAttenuationTarget": 0
}
}
}
],
"FailedTaskList": []
}
]
},
{
"$type": "RPG.GameCore.WaitAnimState",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"AnimStateName": "Attack",
"NormalizedTimeEnd": {
"IsDynamic": false,
"FixedValue": {
"Value": 1
}
}
}
]
},
{
"Name": "MazeMonster_W4_Shooter_01_MazeFlash",
"TargetInfo": {
"TargetType": "SkillPointEntity"
},
"OnStart": [
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"EffectPath": "Effects/Eff_Prefab/Eff_Monster/Eff_W4_Shooter_01/Eff_Monster_W4_Shooter_01_Disappear.prefab",
"ForceSimulateImmediately": false
},
{
"$type": "RPG.GameCore.AdventureTriggerAnimStateWithMove",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"AnimLogicState": "CustomSkill",
"AnimStateName": "Flash"
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.25000000023283064
}
}
},
{
"$type": "RPG.GameCore.SetEntityVisible",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
}
},
{
"$type": "RPG.GameCore.AdventureMonsterTriggerMove",
"MoveDurationCalcType": "Duration",
"Duration": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.13000000012107193
}
},
"FaceToType": "FaceToTarget",
"FaceToTarget": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AbilityTargetEntity"
},
"NeedWait": true
},
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"EffectPath": "Effects/Eff_Prefab/Eff_Monster/Eff_AML_Minion02_01/Eff_Monster_AML_Minion02_01_MazeCommon_Teleport_Appear.prefab",
"ForceSimulateImmediately": false
},
{
"$type": "RPG.GameCore.SetEntityVisible",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"Visible": true
}
],
"OnAbort": [
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"EffectPath": "Effects/Eff_Prefab/Eff_Monster/Eff_AML_Minion02_01/Eff_Monster_AML_Minion02_01_MazeCommon_Teleport_Appear.prefab",
"ForceSimulateImmediately": false
},
{
"$type": "RPG.GameCore.SetEntityVisible",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"Visible": true
}
]
}
]
}