{ "AbilityMixins": [ { "$type": "WatchEntityMixin", "EntityTypes": [ "Avatar" ], "OnEntityAwaked": [ { "$type": "RemoveModifier", "ModifierName": "StunDamageTakeBuffModifier", "Target": "TeamAvatars" }, { "$type": "ApplyModifier", "ModifierName": "StunDamageTakeBuffModifier", "Predicates": [ { "$type": "ByMathSkillSuccess" } ], "Target": "TeamAvatars" } ], "Relationships": [ "Allied" ] } ], "AbilityName": "Summer_MathSkill", "AbilitySpecials": { "AS_AttackBuffExtraRatio": { "Value": 0, "ValueType": "Float" }, "AS_AttackBuffExtraRatio_Op": { "Value": 0, "ValueType": "Float" }, "AS_Duration": { "Value": 15 }, "AS_ExtraMaxAtkDelta": { "Value": 0, "ValueType": "Float" }, "AS_ExtraMaxAtkDelta_Op": { "Value": 0, "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 }, "AS_StunDamageTakeRatio": { "Value": 0.3 }, "AS_SummerMathSkillDeBuffDuration": { "Value": 40 } }, "AbilityStacking": "Unique", "DefaultModifier": { "OnAdded": [ { "$type": "RemoveModifier", "ModifierName": "StunDamageTakeBuffModifier", "Target": "TeamAvatars" }, { "$type": "ApplyModifier", "ModifierName": "StunDamageTakeBuffModifier", "Predicates": [ { "$type": "ByMathSkillSuccess" } ], "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" }, { "$type": "ByMathSkillSuccess" } ], "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": { "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 }, "StunDamageTakeBuffModifier": { "Duration": -1, "IgnoreTimeScale": false, "ModifierStacking": "Unique", "OnHitOther": [ { "$type": "ApplyModifier", "ModifierName": "StunDamageTakeModifier", "Predicates": [ { "$type": "ByIsInZoneTags", "Tags": [ "ThemeSpace_Type_02" ], "Target": "Self" } ], "Target": "Other" } ] }, "StunDamageTakeModifier": { "Duration": "%AS_SummerMathSkillDeBuffDuration", "IgnoreTimeScale": false, "ModifierStacking": "Refresh", "Properties": { "Actor_StunDamageTakeRatio": "%AS_StunDamageTakeRatio" } } } }