{ "AbilityName": "Bangboo_Ariel_Inspire", "AbilitySpecials": { "AS_AddedDamageRatio": { "Value": 0.2 }, "AS_HitCount": { "Value": 0, "ValueType": "Integer" }, "AS_RecoverHP": { "Value": 0.3 }, "AS_RecoverHPValue": { "Value": 0 }, "AS_RecoverSP": { "Value": 10 } }, "AbilityStacking": "Unique", "DefaultModifier": { "OnCustomEventReceived": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByOr", "Predicates": [ { "$type": "ByIsInZoneTags", "Tags": [ "Has_RemielleOrigin_Ariel" ] }, { "$type": "ByAbilitySpecial", "CompareType": "GreaterEqual", "Param": 3, "ParamName": "AS_HitCount", "ParamType": "Integer", "Target": "Self" } ] }, { "$type": "ByCustomEvent", "EventKey": "Ariel_HervyAttack_Start" } ], "FailureActions": [ { "$type": "RandomWeightAction", "ActionList": [ { "Actions": [ { "$type": "ApplyModifier", "ModifierName": "DamageUp_Modifier_Ariel", "Target": "Self" } ], "Weight": 1 }, { "Actions": [ { "$type": "ApplyModifier", "ModifierName": "RecoverHp_Modifier_Ariel", "Target": "LocalAvatar" } ], "Weight": 1 }, { "Actions": [ { "$type": "ApplyModifier", "ModifierName": "RecoverSp_Modifier_Ariel", "Target": "LocalAvatar" } ], "Weight": 1 } ], "Predicates": [ { "$type": "ByCustomEvent", "EventKey": "Ariel_HervyAttack_Start" }, { "$type": "ByAbilitySpecial", "CompareType": "Equal", "Param": 1, "ParamName": "AS_HitCount", "ParamType": "Integer", "Target": "Self" } ], "Target": "Self" }, { "$type": "RandomWeightAction", "ActionList": [ { "Actions": [ { "$type": "ApplyModifier", "ModifierName": "DamageUp_Modifier_Ariel", "Target": "Self" }, { "$type": "ApplyModifier", "ModifierName": "RecoverHp_Modifier_Ariel", "Target": "LocalAvatar" } ], "Weight": 1 }, { "Actions": [ { "$type": "ApplyModifier", "ModifierName": "RecoverHp_Modifier_Ariel", "Target": "LocalAvatar" }, { "$type": "ApplyModifier", "ModifierName": "RecoverSp_Modifier_Ariel", "Target": "LocalAvatar" } ], "Weight": 1 }, { "Actions": [ { "$type": "ApplyModifier", "ModifierName": "RecoverSp_Modifier_Ariel", "Target": "LocalAvatar" }, { "$type": "ApplyModifier", "ModifierName": "DamageUp_Modifier_Ariel", "Target": "Self" } ], "Weight": 1 } ], "Predicates": [ { "$type": "ByCustomEvent", "EventKey": "Ariel_HervyAttack_Start" }, { "$type": "ByAbilitySpecial", "CompareType": "Equal", "Param": 2, "ParamName": "AS_HitCount", "ParamType": "Integer", "Target": "Self" } ], "Target": "Self" } ], "SuccessActions": [ { "$type": "ApplyModifier", "ModifierName": "DamageUp_Modifier_Ariel", "Target": "Self" }, { "$type": "ApplyModifier", "ModifierName": "RecoverHp_Modifier_Ariel", "Target": "LocalAvatar" }, { "$type": "ApplyModifier", "ModifierName": "RecoverSp_Modifier_Ariel", "Target": "LocalAvatar" } ] } ], "OnHitOther": [ { "$type": "ApplyModifier", "ModifierName": "Check_Hit_Ariel", "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "Bangboo_Ariel_Attack_AttackProperty_01_01", "Bangboo_Ariel_Attack_AttackProperty_01_02", "Bangboo_Ariel_Attack_AttackProperty_01_03", "Bangboo_Ariel_Attack_AttackProperty_01_04", "Bangboo_Ariel_Attack_AttackProperty_01_05", "Bangboo_Ariel_Attack_AttackProperty_01_06", "Bangboo_Ariel_Attack_AttackProperty_01_07", "Bangboo_Ariel_Attack_AttackProperty_01_08" ] } ], "Target": "Target" } ], "OnSkillStart": [ { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": 0, "ParamName": "AS_HitCount", "ParamType": "Integer", "Predicates": [ { "$type": "ByFromSkillID", "SkillID": "Bangboo_Ariel_Skill" } ] }, { "$type": "SetAbilitySpecialByExpression", "DoRefresh": true, "Expression": "property(MaxHP)*specials(AS_RecoverHP)", "ParamName": "AS_RecoverHPValue", "Predicates": [ { "$type": "ByFromSkillID", "SkillID": "Bangboo_Ariel_Skill" } ], "Target": "Self", "ValueType": "Float" } ] }, "Modifiers": { "Check_Hit_Ariel": { "Duration": 8, "ModifierStacking": "Unique", "OnAdded": [ { "$type": "TriggerAbilityAction", "AbilityName": "Bangboo_Ariel_Inspire", "Target": "Caster" } ] }, "DamageUp_Modifier_Ariel": { "Duration": 8, "ModifierStacking": "Unique", "OnHitOther": [ { "$type": "ModifyAttackDataAction", "Predicates": [ { "$type": "ByAnimTagList", "TagList": [ "LaserAttack" ] } ], "PropertyKey": "Actor_AddedDamageRatio", "PropertyValue": "%AS_AddedDamageRatio", "Target": "Self" } ] }, "RecoverHp_Modifier_Ariel": { "Duration": 1, "ModifierStacking": "Unique", "OnAdded": [ { "$type": "RecoverHPAction", "Amount": "%AS_RecoverHPValue", "Target": "Self" } ] }, "RecoverSp_Modifier_Ariel": { "Duration": 1, "ModifierStacking": "Unique", "OnAdded": [ { "$type": "RecoverSPAction", "Amount": "%AS_RecoverSP", "Target": "Self" } ] } }, "OnAbilityTrigger": [ { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Add", "Param": 1, "ParamName": "AS_HitCount", "ParamType": "Integer" } ] }