{ "AbilityName": "Monster_Bookemon_HideSelf", "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_EnterGrassClumps" } ], "Target": "Self" }, { "$type": "ApplyModifier", "ModifierName": "HideSelfCheckMofifier", "Predicates": [ { "$type": "ByAbilitySpecial", "CompareType": "GreaterEqual", "Param": 1, "ParamName": "AS_MonsterEnterGrassCount" }, { "$type": "ByCustomEvent", "EventKey": "Bangboo_Bookemon_EnterGrassClumps" } ], "Target": "Self" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Add", "Param": -1, "ParamName": "AS_MonsterEnterGrassCount", "ParamType": "Integer", "Predicates": [ { "$type": "ByCustomEvent", "EventKey": "Bangboo_Bookemon_ExitGrassClumps" } ], "Target": "Self" }, { "$type": "RemoveModifier", "ModifierName": "HideSelfCheckMofifier", "Predicates": [ { "$type": "ByAbilitySpecial", "CompareType": "Equal", "Param": 0, "ParamName": "AS_MonsterEnterGrassCount" }, { "$type": "ByCustomEvent", "EventKey": "Bangboo_Bookemon_ExitGrassClumps" } ], "Target": "Self" } ] }, "Modifiers": { "HideSelfCheckMofifier": { "Duration": -1, "ModifierMixins": [ { "$type": "AttachZoneTagWithModifierMixin", "ConfigList": [ { "ModifierNameList": [ "HideSelfMofifier" ], "ZoneTag": "Move_Ground" }, { "ModifierNameList": [ "HideSelfMofifier" ], "ZoneTag": "Idle" } ] } ], "ModifierStacking": "Unique", "OnRemoved": [ { "$type": "RemoveModifier", "ModifierName": "HideSelfMofifier", "Target": "Self" } ] }, "HideSelfMofifier": { "Duration": -1, "ModifierStacking": "Unique", "OnAdded": [ { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "HideSelf" ], "IsAdd": true }, { "$type": "PushMuteHUDAction", "Target": "Self", "isIgnoreAni": false, "tag": "HideMonsterUIBookemon" }, { "$type": "PushMuteBeSelectedAction", "Tag": "HideMonster", "Target": "Self" }, { "$type": "AttachEffect", "EffectPattern": "Eff_Device_Prop_BangBooTDGrassPlace_01_01_Spask", "Target": "Self" }, { "$type": "ModifyMaterialPropertyAction", "Tag": "Activity_DefenseBattle_MA_End_Dither_02", "Target": "Self", "key": "Activity_DefenseBattle_MA_End_Dither_02" } ], "OnRemoved": [ { "$type": "PopMuteHUDAction", "Target": "Self", "isIgnoreAni": false, "tag": "HideMonsterUIBookemon" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "HideSelf" ], "IsAdd": false }, { "$type": "PopMuteBeSelectedAction", "Tag": "HideMonster", "Target": "Self" }, { "$type": "InterruptMaterialPropertyAction", "Tag": "Activity_DefenseBattle_MA_End_Dither_02", "Target": "Self" }, { "$type": "ModifyMaterialPropertyAction", "Tag": "Activity_DefenseBattle_MA_Start_Dither_02", "Target": "Self", "key": "Activity_DefenseBattle_MA_Start_Dither_02" } ] } } }