{ "AbilityMixins": [ { "$type": "WatchEntityMixin", "EntityTypes": [ "Avatar" ], "OnEntityAwaked": [ { "$type": "ApplyModifier", "ModifierName": "SummerTalent01BuffModifier", "Target": "TeamAvatars" } ], "Relationships": [ "Allied" ] } ], "AbilityName": "Summer_Talent_01", "AbilitySpecials": { "AS_DefenceRatio": { "Value": -0.05, "ValueType": "Float" }, "AS_Duration": { "Value": 15, "ValueType": "Float" }, "AS_MaxStackingNumber": { "Value": 3 }, "AS_RecoverSP": { "Value": 60 }, "AS_RecoverSPCD": { "Value": 180, "ValueType": "Float" }, "AS_RecoverSPCD_Cache": { "Value": 0 }, "AS_RecoverSPCD_Real": { "Value": 0 } }, "AbilityStacking": "Unique", "DefaultModifier": { "OnAdded": [ { "$type": "ApplyModifier", "ModifierName": "SummerTalent01BuffModifier", "Target": "TeamAvatars" }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByGameContextType", "GameType": "StreamingGame", "SubGameType": "All" } ], "FailureActions": [ { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": 0, "ParamName": "AS_RecoverSPCD_Real", "ParamType": "Float" } ], "SuccessActions": [ { "$type": "SetAbilitySpecialByExpression", "Expression": "scenevar(AS_RecoverSPCD_Real)", "ParamName": "AS_RecoverSPCD_Real", "Target": "Self", "ValueType": "Float" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": "%AS_RecoverSPCD_Real", "ParamName": "AS_RecoverSPCD_Cache", "ParamType": "Float" } ] }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByAbilitySpecial", "CompareType": "LessEqual", "Param": 0, "ParamName": "AS_RecoverSPCD_Real", "ParamType": "Float" } ], "FailureActions": [ { "$type": "ApplyModifier", "ModifierName": "SmoothDecreaseCDModifier", "Target": "Self" } ], "SuccessActions": [ { "$type": "RecoverSPAction", "Amount": "%AS_RecoverSP", "Percentage": 0, "Target": "Self" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": "%AS_RecoverSPCD", "ParamName": "AS_RecoverSPCD_Real", "ParamType": "Float" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": "%AS_RecoverSPCD", "ParamName": "AS_RecoverSPCD_Cache", "ParamType": "Float" }, { "$type": "ApplyModifier", "ModifierName": "SmoothDecreaseCDModifier", "Target": "Self" } ] } ] }, "Modifiers": { "DefenceReduceModifiers_SummerTalent01": { "Duration": "%AS_Duration", "MaxStackingNumber": "%AS_MaxStackingNumber", "ModifierStacking": "MultipleRefresh", "Properties": { "Actor_DefenceRatio": "%AS_DefenceRatio" } }, "SmoothDecreaseCDModifier": { "Duration": "%AS_RecoverSPCD", "ModifierMixins": [ { "$type": "SmoothBlendAbilitySpecialMixin", "AbilitySpecial": "AS_RecoverSPCD_Real", "BlendCurve": "Linear", "BlendTime": "%AS_RecoverSPCD_Cache", "TargetValue": 0 } ], "ModifierStacking": "Unique", "OnThinkInterval": [ { "$type": "RemoveModifier", "ModifierName": "SmoothDecreaseCDModifier", "Predicates": [ { "$type": "ByAbilitySpecial", "CompareType": "LessEqual", "Param": 0, "ParamName": "AS_RecoverSPCD_Real", "ParamType": "Float" } ], "Target": "Self" } ], "ThinkInterval": 0.1 }, "SummerTalent01BuffModifier": { "Duration": -1, "IgnoreTimeScale": false, "ModifierStacking": "Unique", "OnHitOther": [ { "$type": "ApplyModifier", "ModifierName": "DefenceReduceModifiers_SummerTalent01", "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "#Summer_UniqueSkill_Bullet_Anomaly_AttackProperty_02", "#Summer_UniqueSkill_Bullet_Attack_AttackProperty_02" ] } ], "Target": "Other" } ] } } }