{
  "AbilityName": "Bangboo_Butler_Cure_Bookemon",
  "AbilitySpecials": {
    "AS_RecoverRatio": {
      "Value": 0.75
    },
    "AS_RecoverValue": {
      "Value": 0.1
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "SetAbilitySpecialByExpression",
        "DoRefresh": true,
        "Expression": "property(Attack)*specials(AS_RecoverRatio)",
        "ParamName": "AS_RecoverValue",
        "Target": "Self",
        "ValueType": "Float"
      },
      {
        "$type": "AttachEffect",
        "AttachEffectPosRot": {
          "CoordsOption": "ReferTarget",
          "Offset": {
            "AngleOffset": {
              "x": 0,
              "y": 0,
              "z": 0
            },
            "IsUseRotationXZ": true,
            "IsUseRotationY": true,
            "PositionOffset": {
              "x": 0,
              "y": 0,
              "z": 0
            }
          },
          "TargetOption": {
            "$type": "ConfigPosRotReferTarget",
            "IsUseAttachPointPos": true,
            "IsUseAttachPointRotation": true,
            "OffsetReferTarget": "Self"
          }
        },
        "EffectPattern": "Eff_DefenseBattle_PowerUp_01",
        "Target": "Self"
      },
      {
        "$type": "AttachEffect",
        "AttachEffectPosRot": {
          "CoordsOption": "ReferTarget",
          "Offset": {
            "AngleOffset": {
              "x": 0,
              "y": 0,
              "z": 0
            },
            "IsUseRotationXZ": true,
            "IsUseRotationY": true,
            "PositionOffset": {
              "x": 0,
              "y": 0,
              "z": 0
            }
          },
          "TargetOption": {
            "$type": "ConfigPosRotReferTarget",
            "IsUseAttachPointPos": true,
            "IsUseAttachPointRotation": true,
            "OffsetReferTarget": "Self"
          }
        },
        "EffectPattern": "Eff_DefenseBattle_PowerUp_02",
        "Target": "Self"
      },
      {
        "$type": "ModifyMaterialPropertyAction",
        "Tag": "Bookemon_Upgrade",
        "Target": "Self",
        "key": "Eff_DefenseBattle_PowerUp_01_MA"
      },
      {
        "$type": "ModifyMaterialPropertyAction",
        "Tag": "Bookemon_Upgrade_02",
        "Target": "Self",
        "key": "Eff_DefenseBattle_PowerUp_02_MA"
      },
      {
        "$type": "FireAudio",
        "AudioPattern": "Play_Tower_Bangboo_Butler_Upgrade",
        "Target": "Self"
      }
    ],
    "OnHitOther": [
      {
        "$type": "SetAbilitySpecialByExpression",
        "DoRefresh": true,
        "Expression": "property(Attack)*specials(AS_RecoverRatio)",
        "ParamName": "AS_RecoverValue",
        "Target": "Self",
        "ValueType": "Float"
      },
      {
        "$type": "ApplyModifier",
        "ModifierName": "ButlerCureModifier",
        "Predicates": [
          {
            "$type": "ByAnimEventIDs",
            "AnimEventIDs": [
              "Bangboo_Butler_Attackproperty_Attack_01_Bookemon"
            ]
          }
        ],
        "Target": "Other"
      },
      {
        "$type": "ApplyModifier",
        "ModifierName": "ButlerCureModifier",
        "Predicates": [
          {
            "$type": "ByAnimEventIDs",
            "AnimEventIDs": [
              "Bangboo_Butler_Attackproperty_Attack_01_Bookemon_ATKRangeUp"
            ]
          }
        ],
        "Target": "Target"
      }
    ]
  },
  "Modifiers": {
    "ButlerCureModifier": {
      "Duration": 0.1,
      "ModifierStacking": "Unique",
      "OnAdded": [
        {
          "$type": "RecoverHPAction",
          "Amount": "%AS_RecoverValue",
          "Percentage": 0,
          "Target": "Self"
        },
        {
          "$type": "FireEffect",
          "EffectPattern": "Buff_Common_Recover",
          "Target": "Self"
        }
      ]
    }
  },
  "OnAbilityTrigger": [
    {
      "$type": "ApplyModifier",
      "ModifierName": "ButlerCureModifier",
      "Target": "Self"
    }
  ]
}