turnbasedgamedata/Config/ConfigAbility/BattleEvent/Avatar_FightFest_Main_Skill04_Ability.json
2025-02-24 07:50:34 -03:00

524 lines
16 KiB
JSON

{
"AbilityList": [
{
"Name": "Avatar_FightFest_Main_Skill04_Phase01",
"TargetInfo": {
"TargetType": "AllLightTeamMember"
},
"OnStart": [
{
"$type": "RPG.GameCore.TriggerAbility",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"AbilityName": {
"Value": "Avatar_FightFest_Main_Skill04_Phase02"
},
"IsSkillPerform": true
}
]
},
{
"Name": "Avatar_FightFest_Main_Skill04_Phase02",
"TargetInfo": {
"TargetType": "AllLightTeamMember"
},
"OnStart": [
{
"$type": "RPG.GameCore.TriggerAbility",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"AbilityInherentTargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllLightTeam"
},
"AbilityName": {
"Value": "StageAbility_670860_Camera"
},
"IsSkillPerform": true
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByHeroGender",
"Gender": "GENDER_WOMAN"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.FightFestShowCutIn",
"PrefabPath": "UI/Battle/UltraSkillCutIn/FightFest/FightFestCutin_8006.prefab",
"Duration": 1,
"IsOverrideDesc": true,
"TargetDesc": {
"Hash": 7715134817840934445
}
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.FightFestShowCutIn",
"PrefabPath": "UI/Battle/UltraSkillCutIn/FightFest/FightFestCutin_8005.prefab",
"Duration": 1,
"IsOverrideDesc": true,
"TargetDesc": {
"Hash": 7715134817840934445
}
}
]
},
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllTeamCenter"
},
"EffectPath": "Effects/Eff_Prefab/Eff_ActivityProp/Eff_FightFest/Eff_FightFest_Fever_Ally_Camera_SpeedLine_01.prefab"
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 1.5
}
}
},
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllTeamCenter"
},
"EffectPath": "Effects/Eff_Prefab/Eff_ActivityProp/Eff_FightFest/Eff_FightFest_TacticSkill_Support.prefab"
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 0.1
}
}
},
{
"$type": "RPG.GameCore.Retarget",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllLightTeamOnlyAddSPOnceForServant"
},
"ByRandom": true,
"TaskList": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareAbilityProperty",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"Property": "MaxSpecialSP",
"CompareType": "Greater",
"CompareValue": {
"FixedValue": {
"Value": 0
}
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.SetDynamicValueByProperty",
"DynamicKey": "_CurrentSP",
"ReadTargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"Value": "CurrentSpecialSP"
},
{
"$type": "RPG.GameCore.SetDynamicValueByProperty",
"DynamicKey": "_MaxSP",
"ReadTargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"Value": "MaxSpecialSP"
},
{
"$type": "RPG.GameCore.ModifySpecialSP",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"FixedAddValue": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQABAQMR",
"FixedValues": [],
"DynamicHashes": [
-1309867864,
-978103959
]
}
},
"IgnoreBlock": true
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.SetDynamicValueByProperty",
"DynamicKey": "_CurrentSP",
"ReadTargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"Value": "CurrentSP"
},
{
"$type": "RPG.GameCore.SetDynamicValueByProperty",
"DynamicKey": "_MaxSP",
"ReadTargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"Value": "MaxSP"
},
{
"$type": "RPG.GameCore.ModifySPNew",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"FixedAddValue": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQABAQMR",
"FixedValues": [],
"DynamicHashes": [
-1309867864,
-978103959
]
}
}
}
]
},
{
"$type": "RPG.GameCore.ShowEntityFloatMessage",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"ContentID": {
"Hash": 14496289291187490757
}
},
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"AliveOnly": true,
"EffectPath": "Effects/Eff_Prefab/Eff_Common/Eff_Common_MAZ_RecoverSP.prefab",
"MinMutexTime": -1,
"MinMutexType": "Entity"
}
]
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 1
}
}
},
{
"$type": "RPG.GameCore.ShowUIPage",
"AssetPath": "UI/Common/Widget/BattleSelfStatusHint.prefab",
"UITextNodes": [
{
"TextPath": "AreaInfoPanel/Title/Text",
"TextContent": {
"Hash": 16213464974020388560
}
}
],
"LifeTime": 2
},
{
"$type": "RPG.GameCore.SkillPerformFinish"
}
],
"DynamicValues": {
"Floats": {
"-978103959": {},
"-1309867864": {}
}
}
},
{
"Modifiers": {
"MAvatar_FightFest_Main_Skill04_PassiveAbility": {
"BehaviorFlagList": [
"BlockDamage",
"Stealth"
],
"_CallbackList": [
{
"Event": "OnCreate",
"CallbackConfig": [
{
"$type": "RPG.GameCore.SetEntityUnselectable",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"Unselectable": true
}
]
},
{
"Event": "OnModifierAdd",
"CallbackConfig": [
{
"$type": "RPG.GameCore.DispelStatus",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"BuffType": "Buff"
},
{
"$type": "RPG.GameCore.DispelStatus",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
}
},
{
"$type": "RPG.GameCore.DispelStatus",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"BuffType": "Other"
}
]
}
]
},
"MAvatar_FightFest_Main_Skill04_Charge": {
"_CallbackList": [
{
"Event": "OnListenCharacterCreate",
"CallbackConfig": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByTargetTeam",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"Team": "TeamLight"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"ModifierName": {
"Value": "MAvatar_FightFest_Main_Skill04_Charge_Sub"
}
}
]
}
]
},
{
"Event": "OnEnterBattle",
"Priority": -90,
"CallbackConfig": [
{
"$type": "RPG.GameCore.SetDynamicValueByProperty",
"DynamicKey": "MDF_MaxSP",
"ReadTargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"Value": "MaxSP"
},
{
"$type": "RPG.GameCore.ModifySPNew",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"AddValue": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQABAQQR",
"FixedValues": [],
"DynamicHashes": [
-1657931065,
909827943
]
}
}
}
]
}
],
"DynamicValues": {
"Floats": {
"-1657931065": {}
}
}
},
"MAvatar_FightFest_Main_Skill04_Charge_Sub": {
"_CallbackList": [
{
"Event": "OnListenAllowAction",
"CallbackConfig": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByTargetTeam",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"Team": "TeamLight"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.SetDynamicValueByProperty",
"DynamicKey": "_CurrentSP",
"ReadTargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"Value": "CurrentSP"
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareDynamicValue",
"DynamicKey": {
"Value": "_CurrentSP"
},
"CompareType": "GreaterEqual",
"CompareValue": {
"FixedValue": {
"Value": 100
}
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.TriggerCustomString",
"CustomString": {
"Value": "Tutorial_CoachChargeFinish"
}
}
]
}
]
}
]
},
{
"Event": "OnBeforeSkillUse",
"CallbackConfig": [
{
"$type": "RPG.GameCore.ModifySPNew",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"FixedAddValue": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQABAQQR",
"FixedValues": [],
"DynamicHashes": [
909827942,
-1284493821
]
}
}
}
]
}
],
"DynamicValues": {
"Floats": {
"-978103959": {}
}
}
},
"MAvatar_FightFest_Main_Skill04_AutoUseUltraSkill": {
"_CallbackList": [
{
"Event": "OnCreate",
"CallbackConfig": [
{
"$type": "RPG.GameCore.AutoUseUltraSkill",
"Target": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllLightTeam"
},
"WaitCutinFinished": false
}
]
}
]
}
},
"Name": "Avatar_FightFest_Main_Skill04_PassiveSkill01",
"TargetInfo": {
"TargetType": "Caster"
},
"OnStart": [
{
"$type": "RPG.GameCore.ShowBattleEventButton",
"IsShow": true
},
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"ModifierName": {
"Value": "MAvatar_FightFest_Main_Skill04_PassiveAbility"
}
},
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"ModifierName": {
"Value": "MAvatar_FightFest_Main_Skill04_Charge"
}
},
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"ModifierName": {
"Value": "MAvatar_FightFest_Main_Skill04_AutoUseUltraSkill"
}
}
]
}
]
}