Files
FireflyGo_Resources/Config/ConfigAbility/Level/Level_BattleCommonRule_Ability.json
2025-08-15 08:08:45 +07:00

102 lines
3.6 KiB
JSON

{
"AbilityList": [
{
"Name": "StageAbility_BattleCommonRule",
"OnAdd": [
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "LevelEntity"
},
"ModifierName": {
"Value": "MStageAbility_BattleCommonRule_Dispel"
}
}
],
"Modifiers": {
"MStageAbility_BattleCommonRule_Dispel": {
"_CallbackList": [
{
"Event": "OnListenModifierDispel",
"CallbackConfig": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByAnd",
"PredicateList": [
{
"$type": "RPG.GameCore.ByTargetTeam",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"Team": "TeamLight"
},
{
"$type": "RPG.GameCore.ByCheckModifierCallBackStatusType",
"TargetStatusType": "Debuff"
},
{
"$type": "RPG.GameCore.ByContainsParamFlag",
"Inverse": true,
"Flag": "MuteDispelVisualEffect"
}
]
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"EffectPath": "Effects/Eff_Prefab/Eff_Common/Eff_Buff_Common_DispelDebuff.prefab",
"ForceSimulateImmediately": false
}
]
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByAnd",
"PredicateList": [
{
"$type": "RPG.GameCore.ByTargetTeam",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"Team": "TeamDark"
},
{
"$type": "RPG.GameCore.ByCheckModifierCallBackStatusType",
"TargetStatusType": "Buff"
},
{
"$type": "RPG.GameCore.ByContainsParamFlag",
"Inverse": true,
"Flag": "MuteDispelVisualEffect"
}
]
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"EffectPath": "Effects/Eff_Prefab/Eff_Common/Eff_Buff_Common_DispelBuff.prefab",
"ForceSimulateImmediately": false
}
]
}
]
}
]
}
}
}
]
}