{ "AbilityName": "Bangboo_Bookemon_Light", "AbilitySpecials": { "AS_MonsterEnterLightCount": { "Value": 0, "ValueType": "Integer" } }, "AbilityStacking": "Unique", "DefaultModifier": { "OnCustomEventReceived": [ { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Add", "Param": 1, "ParamName": "AS_MonsterEnterLightCount", "ParamType": "Integer", "Predicates": [ { "$type": "ByCustomEvent", "EventKey": "Bangboo_Bookemon_EnterLight" } ], "Target": "Self" }, { "$type": "ApplyModifier", "ModifierName": "LightBuffModifier", "Predicates": [ { "$type": "ByAbilitySpecial", "CompareType": "GreaterEqual", "Param": 1, "ParamName": "AS_MonsterEnterLightCount" }, { "$type": "ByCustomEvent", "EventKey": "Bangboo_Bookemon_EnterLight" } ], "Target": "Self" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Add", "Param": -1, "ParamName": "AS_MonsterEnterLightCount", "ParamType": "Integer", "Predicates": [ { "$type": "ByCustomEvent", "EventKey": "Bangboo_Bookemon_ExitLight" } ], "Target": "Self" }, { "$type": "RemoveModifier", "ModifierName": "LightBuffModifier", "Predicates": [ { "$type": "ByAbilitySpecial", "CompareType": "Equal", "Param": 0, "ParamName": "AS_MonsterEnterLightCount" }, { "$type": "ByCustomEvent", "EventKey": "Bangboo_Bookemon_ExitLight" } ], "Target": "Self" } ] }, "Modifiers": { "LightBuffModifier": { "Duration": -1, "ModifierStacking": "Unique", "OnAdded": [ { "$type": "AttachEffect", "EffectPattern": "Buff_Common_Attack_Loop" }, { "$type": "ModifyMaterialPropertyAction", "Tag": "Common_MA_Buff_Attack_Loop_RimGlow_01_Light", "key": "Common_MA_Buff_Attack_Loop_RimGlow_01" } ], "OnRemoved": [ { "$type": "InterruptMaterialPropertyAction", "Tag": "Common_MA_Buff_Attack_Loop_RimGlow_01_Light" } ], "Properties": { "Actor_AddedDamageRatio": 0.5 } } } }