{ "AbilityName": "Bangboo_Safety_AttackManager_Bookemon", "AbilitySpecials": { "AS_RecoverRatio": { "Value": 0.05 }, "AS_RecoverValue": { "Value": 0.1 } }, "AbilityStacking": "Unique", "DefaultModifier": { "ModifierStacking": "Unique", "OnAdded": [ { "$type": "SetAbilitySpecialByExpression", "DoRefresh": true, "Expression": "property(MaxHP)*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_Safety_Upgrade", "Target": "Self" } ], "OnHitOther": [ { "$type": "DamageByAttackPropertyAction", "AnimEventID": "Bangboo_Safety_Attackproperty_Attack01_Bookemon_Landed", "Attacker": "Caster", "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "Bangboo_Safety_Attackproperty_Attack01_Bookemon" ] }, { "$type": "ByIsSelfAttackTarget", "IsSelfAttackTarget": true, "Target": "Target" } ], "Target": "Target" }, { "$type": "DamageByAttackPropertyAction", "AnimEventID": "Bangboo_Safety_Attackproperty_Attack02_Bookemon_Landed", "Attacker": "Caster", "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "Bangboo_Safety_Attackproperty_Attack02_Bookemon" ] }, { "$type": "ByIsSelfAttackTarget", "IsSelfAttackTarget": true, "Target": "Target" } ], "Target": "Target" }, { "$type": "AttachModifier", "ModifierName": "KilledCheckModifier", "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "Bangboo_Safety_Attackproperty_Attack01_Bookemon" ] }, { "$type": "ByIsSelfAttackTarget", "IsSelfAttackTarget": true, "Target": "Target" } ], "Target": "Target" }, { "$type": "AttachModifier", "ModifierName": "KilledCheckModifier", "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "Bangboo_Safety_Attackproperty_Attack02_Bookemon" ] }, { "$type": "ByIsSelfAttackTarget", "IsSelfAttackTarget": true, "Target": "Target" } ], "Target": "Target" } ] }, "Modifiers": { "KilledCheckModifier": { "Duration": -1, "ModifierStacking": "Unique", "OnKilled": [ { "$type": "ApplyModifier", "ModifierName": "SafetyCureModifier", "Target": "Caster" } ] }, "SafetyCureModifier": { "Duration": 0.5, "ModifierStacking": "Replace", "OnAdded": [ { "$type": "RecoverHPAction", "Amount": "%AS_RecoverValue", "Percentage": 0, "Target": "Self" }, { "$type": "FireEffect", "EffectPattern": "Buff_Common_Recover", "Target": "Self" } ] } } }