Files
DanhengServer-Resources/Config/ConfigAbility/Level/Level_BattleCommonRule_Ability.json
2025-12-27 18:07:41 +08:00

357 lines
13 KiB
JSON

{
"AbilityList": [
{
"Modifiers": {
"MStageAbility_BattleCommonRule_Dispel": {
"LifeTime": -1,
"MaxLayer": 99,
"LayerAddWhenStack": {},
"WorkingTurn": "OwnerTurn",
"LifeStepMoment": "ModifierPhase2End",
"ApplyBehaviorFlagBindEffects": true,
"_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",
"TaskEnabled": true
},
{
"$type": "RPG.GameCore.ByCheckModifierCallBackStatusType",
"TargetStatusType": "Debuff",
"TaskEnabled": true
},
{
"$type": "RPG.GameCore.ByContainsParamFlag",
"Flag": "MuteDispelVisualEffect",
"Inverse": true,
"TaskEnabled": true
}
],
"TaskEnabled": true
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"EffectPath": "Effects/Eff_Prefab/Eff_Common/Eff_Buff_Common_DispelDebuff.prefab",
"Scale": {
"x": -1.0,
"y": -1.0,
"z": -1.0,
"normalized": {
"x": -0.577350259,
"y": -0.577350259,
"z": -0.577350259,
"normalized": {
"x": -0.5773503,
"y": -0.5773503,
"z": -0.5773503,
"magnitude": 1.00000012,
"sqrMagnitude": 1.00000024
},
"magnitude": 0.99999994,
"sqrMagnitude": 0.99999994
},
"magnitude": 1.73205078,
"sqrMagnitude": 3.0
},
"IsNeedFadeIn": true,
"ParamEntityUsage": "LookAt",
"TowardMaxPitchAngle": 90.0,
"MaxMutexCount": 1,
"TaskEnabled": true,
"IsClientOnly": true
}
],
"TaskEnabled": true
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByAnd",
"PredicateList": [
{
"$type": "RPG.GameCore.ByTargetTeam",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"Team": "TeamDark",
"TaskEnabled": true
},
{
"$type": "RPG.GameCore.ByCheckModifierCallBackStatusType",
"TargetStatusType": "Buff",
"TaskEnabled": true
},
{
"$type": "RPG.GameCore.ByContainsParamFlag",
"Flag": "MuteDispelVisualEffect",
"Inverse": true,
"TaskEnabled": true
}
],
"TaskEnabled": true
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"EffectPath": "Effects/Eff_Prefab/Eff_Common/Eff_Buff_Common_DispelBuff.prefab",
"Scale": {
"x": -1.0,
"y": -1.0,
"z": -1.0,
"normalized": {
"x": -0.577350259,
"y": -0.577350259,
"z": -0.577350259,
"normalized": {
"x": -0.5773503,
"y": -0.5773503,
"z": -0.5773503,
"magnitude": 1.00000012,
"sqrMagnitude": 1.00000024
},
"magnitude": 0.99999994,
"sqrMagnitude": 0.99999994
},
"magnitude": 1.73205078,
"sqrMagnitude": 3.0
},
"IsNeedFadeIn": true,
"ParamEntityUsage": "LookAt",
"TowardMaxPitchAngle": 90.0,
"MaxMutexCount": 1,
"TaskEnabled": true,
"IsClientOnly": true
}
],
"TaskEnabled": true
}
]
}
],
"Count": -1,
"Stacking": "Unique"
},
"MStageAbility_BattleCommonRule_SuperBreak": {
"LifeTime": -1,
"MaxLayer": 99,
"LayerAddWhenStack": {},
"WorkingTurn": "OwnerTurn",
"LifeStepMoment": "ModifierPhase2End",
"ApplyBehaviorFlagBindEffects": true,
"AdditionConfig": {
"SubModifierList": [
{
"Name": "MStageAbility_BattleCommonRule_SuperBreak_SubOnEnemy",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllDarkTeamWithAllDarkTeamUnselectable.RemoveBattleEvent"
},
"IsHaloStatus": true
}
]
},
"Count": -1,
"Stacking": "Unique"
},
"MStageAbility_BattleCommonRule_SuperBreak_SubOnEnemy": {
"LifeTime": -1,
"MaxLayer": 99,
"LayerAddWhenStack": {},
"WorkingTurn": "OwnerTurn",
"LifeStepMoment": "ModifierPhase2End",
"ApplyBehaviorFlagBindEffects": true,
"_CallbackList": [
{
"Event": "OnAfterBeingAttackedEnd",
"CallbackConfig": [
{
"$type": "RPG.GameCore.SetDynamicValue",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"Value": {},
"DynamicKey": {
"Value": "MDF_TotalStanceDamage"
},
"SkipInCharmAction": true,
"TaskEnabled": true
}
]
},
{
"Event": "OnListenBeforeAction",
"CallbackConfig": [
{
"$type": "RPG.GameCore.SetDynamicValue",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"Value": {},
"DynamicKey": {
"Value": "MDF_TotalStanceDamage"
},
"SkipInCharmAction": true,
"TaskEnabled": true
}
]
},
{
"Event": "OnBeforeBeingStanceDamage",
"CallbackConfig": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByAny",
"PredicateList": [
{
"$type": "RPG.GameCore.ByContainBehaviorFlag",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"Flag": "Break",
"TaskEnabled": true
},
{
"$type": "RPG.GameCore.ByContainBehaviorFlag",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"Flag": "STAT_ForceSuperBreakDamage",
"TaskEnabled": true
},
{
"$type": "RPG.GameCore.ByContainBehaviorFlag",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"Flag": "STAT_ForceSuperBreakDamage",
"TaskEnabled": true
}
],
"TaskEnabled": true
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.SetDynamicValueByVariateType",
"DynamicKey": "MDF_HitStanceDamage",
"VariateType": "ParamValue2",
"TaskEnabled": true
},
{
"$type": "RPG.GameCore.SetDynamicValue",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"Value": {
"FixedValue": {
"RawValue": -149061134974976,
"Value": -34706.0
}
},
"DynamicKey": {
"Value": "MDF_TotalStanceDamage"
},
"SkipInCharmAction": true,
"TaskEnabled": true
}
],
"TaskEnabled": true
}
]
}
],
"Count": -1,
"Stacking": "Unique",
"DynamicValues": {}
}
},
"Name": "StageAbility_BattleCommonRule",
"OnAdd": [
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "LevelEntity"
},
"AliveOnly": true,
"ModifierName": {
"Value": "MStageAbility_BattleCommonRule_Dispel"
},
"Chance": {
"FixedValue": {
"RawValue": -4294967296,
"Value": -1.0
}
},
"MaxTargetCount": {
"FixedValue": {
"RawValue": -4294967296,
"Value": -1.0
}
},
"IsShowUIMessageFromModel": true,
"IsShowUIMessageOnUpdate": true,
"ShowUIMessageInternalTime": -1.0,
"UseFixedPosition": true,
"TaskEnabled": true
},
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "LevelEntity"
},
"AliveOnly": true,
"ModifierName": {
"Value": "MStageAbility_BattleCommonRule_SuperBreak"
},
"Chance": {
"FixedValue": {
"RawValue": -4294967296,
"Value": -1.0
}
},
"MaxTargetCount": {
"FixedValue": {
"RawValue": -4294967296,
"Value": -1.0
}
},
"IsShowUIMessageFromModel": true,
"IsShowUIMessageOnUpdate": true,
"ShowUIMessageInternalTime": -1.0,
"UseFixedPosition": true,
"TaskEnabled": true
}
]
}
]
}