{ "AbilityName": "Monster_Bookemon_Huixi", "AbilitySpecials": { "AS_MonsterEnterGrassCount": { "Value": 0, "ValueType": "Integer" } }, "AbilityStacking": "Unique", "DefaultModifier": { "OnCustomEventReceived": [ { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Add", "Param": 1, "ParamName": "AS_MonsterEnterGrassCount", "ParamType": "Integer", "Predicates": [ { "$type": "ByCustomEvent", "EventKey": "Bangboo_Bookemon_EnterHuixi" } ], "Target": "Self" }, { "$type": "ApplyModifier", "ModifierName": "HuixiDebuffModifier", "Predicates": [ { "$type": "ByAbilitySpecial", "CompareType": "GreaterEqual", "Param": 1, "ParamName": "AS_MonsterEnterGrassCount" }, { "$type": "ByCustomEvent", "EventKey": "Bangboo_Bookemon_EnterHuixi" } ], "Target": "Self" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Add", "Param": -1, "ParamName": "AS_MonsterEnterGrassCount", "ParamType": "Integer", "Predicates": [ { "$type": "ByCustomEvent", "EventKey": "Bangboo_Bookemon_ExitHuixi" } ], "Target": "Self" }, { "$type": "RemoveModifier", "ModifierName": "HuixiDebuffModifier", "Predicates": [ { "$type": "ByAbilitySpecial", "CompareType": "Equal", "Param": 0, "ParamName": "AS_MonsterEnterGrassCount" }, { "$type": "ByCustomEvent", "EventKey": "Bangboo_Bookemon_ExitHuixi" } ], "Target": "Self" } ] }, "Modifiers": { "HuixiDebuffModifier": { "Duration": -1, "ModifierStacking": "Unique", "OnAdded": [ { "$type": "AttachEffect", "EffectPattern": "Buff_Common_Attack_Loop" }, { "$type": "ModifyMaterialPropertyAction", "Tag": "Common_MA_Buff_Attack_Loop_RimGlow_01_Huixi", "Target": "Self", "key": "Common_MA_Buff_Attack_Loop_RimGlow_01" } ], "OnRemoved": [ { "$type": "InterruptMaterialPropertyAction", "Tag": "Common_MA_Buff_Attack_Loop_RimGlow_01_Huixi" } ], "Properties": { "Actor_AddedDamageRatio": 0.3 } } } }