{ //受击时改变自身的ResistBreakLevel值 "AbilityName" : "TestPlayer_Ability_Tianheng_43", "AbilityStacking": "Unique", "DefaultModifier" : { "OnAdded" : [ { "$type" : "MoleMole.ApplyModifier", "ModifierName" : "ResistBreakLevelModifier_Add", "Target" : "Self", }, { "$type" : "MoleMole.FireEffect", "EffectPattern" : "Eff_Avatar_LevelUp_02", "Target" : "Self" }, ], "OnBeingHitPre": [ { "$type" : "MoleMole.ApplyModifier", "ModifierName" : "BreakModeModifier", "Target" : "Self", "Predicates" : [ { "$type" : "MoleMole.ByCauseStun", "IsCauseStun" : true }, ] }, ], "OnBeingHitResolved": [ { "$type" : "MoleMole.RemoveModifier", "ModifierName" : "BreakModeModifier", "Target" : "Self", }, ] }, "Modifiers" : { "BreakModeModifier": { "ModifierStacking": "Unique", "Duration" : 1.0, "OnAdded" : [ { "$type" : "MoleMole.FireEffect", "EffectPattern" : "Eff_Avatar_LevelUp_01", "Target" : "Self", }, { "$type" : "MoleMole.ApplyModifier", "ModifierName" : "ResistBreakLevelModifier_Reduce", "Target" : "Self", }, { "$type" : "MoleMole.SetAnimCtrlerParamAction", "ParamType" : 3, "ParamName" : "Int_GroundHitIndex", "Target" : "Self", "IntVal" : 0, }, ], "OnRemoved" : [ { "$type" : "MoleMole.RemoveModifier", "ModifierName" : "ResistBreakLevelModifier_Reduce", "Target" : "Self", }, ], }, "ResistBreakLevelModifier_Add": { "ModifierStacking": "MultipleRefresh", "Duration" : -1, "OnAdded": [ { "$type": "MoleMole.SetRBLOffsetAction", "Tag": "TestAbility_43_Add", "RBLOffset": 2, "Target": "Self" }, ], "OnRemoved": [ { "$type": "MoleMole.UnsetRBLOffsetAction", "Tag": "TestAbility_43_Add", "Target": "Self" }, ], }, "ResistBreakLevelModifier_Reduce": { "ModifierStacking": "MultipleRefresh", "Duration" : -1, "OnAdded": [ { "$type": "MoleMole.SetRBLOffsetAction", "Tag": "TestAbility_43_Reduce", "RBLOffset": -2, "Target": "Self" }, ], "OnRemoved": [ { "$type": "MoleMole.UnsetRBLOffsetAction", "Tag": "TestAbility_43_Reduce", "Target": "Self" }, ], }, } }