{ "AbilityName": "Activity_Zenkov_DecreaseCurHpNotifyLevel", "AbilitySpecials": { "AS_HpDecreasePercent": { "Value": 0.5, "ValueType": "Float" }, "AS_HpRatioBefore": { "Value": 0, "ValueType": "Float" } }, "AbilityStacking": "Unique", "DefaultModifier": { "OnCustomEventReceived": [ { "$type": "SetAbilitySpecialByExpression", "Expression": "property(CurHP)\/property(MaxHP)", "ParamName": "AS_HpRatioBefore", "Predicates": [ { "$type": "ByCustomEvent", "EventKey": "Zenkov_LotteryHpReduce_ClientUse" } ], "Target": "LocalAvatar", "ValueType": "Float" }, { "$type": "DecreaseHPAction", "Amount": 0, "IgnoreInvincible": true, "Percentage": "%AS_HpDecreasePercent", "Predicates": [ { "$type": "ByCustomEvent", "EventKey": "Zenkov_LotteryHpReduce_ClientUse" } ], "Target": "LocalAvatar" }, { "$type": "DamageByAttackPropertyAction", "AnimEventID": "#Zenkov_LotteryHpReduce_ClientUse", "Attacker": "LocalAvatar", "MpExecMode": "AuthorityOnly", "Predicates": [ { "$type": "ByCustomEvent", "EventKey": "Zenkov_LotteryHpReduce_ClientUse" }, { "$type": "ByAbilitySpecial", "CompareType": "Less", "Param": 0.5, "ParamName": "AS_HpRatioBefore", "ParamType": "Float", "Target": "LocalAvatar" } ], "Target": "LocalAvatar" } ], "OnIndirectBeingHitPre": [ { "$type": "ReplaceDamageAction", "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "#Zenkov_LotteryHpReduce_ClientUse" ], "Target": "LocalAvatar" } ], "Target": "LocalAvatar", "TargetDamage": 9999999 } ] } }