{ "AbilityMixins": [ { "$type": "WatchEntityMixin", "EntityTypes": [ "Avatar" ], "OnEntityAwaked": [ { "$type": "ApplyModifier", "ModifierName": "Lighter_Full_Fight_Coop_Refresh", "Target": "TeamAvatars" } ], "Relationships": [ "Allied" ] } ], "AbilityName": "Coop_Lighter_Upgrade", "AbilitySpecials": { "AS_AddedBreakStunRatio": { "Value": 0.1 }, "AS_AddedDamageRatio": { "Value": 0.1 }, "AS_BaseAtkRatio": { "Value": 0.15 }, "AS_BreakstunToDamage_Min": { "Value": 50 }, "AS_BreakstunToDamage_Ratio": { "Value": 0.1 }, "AS_DamageResistDown": { "Value": -0.2 }, "AS_DamageResistDown_Duration": { "Value": 30 }, "AS_DamageResistDown_Talent02": { "Value": -0.2 }, "AS_DamageUp_Duration": { "Value": 15 }, "AS_FightAmount": { "Value": 0, "ValueType": "Integer" }, "AS_FightAmount_PerDamageUp_Base": { "Value": 0.1 }, "AS_FightAmount_PerDamageUp_ByBreak": { "Value": 0 }, "AS_FightAmount_PerDamageUp_Final": { "Value": 0.016 }, "AS_FightAmount_PerDamageUp_Max": { "Value": 100 }, "AS_FightAmount_PerDamageUp_Talent02": { "Value": 1.2 }, "AS_MaxFightAmount": { "Value": 20, "ValueType": "Integer" } }, "AbilityStacking": "Unique", "DefaultModifier": { "OnAdded": [ { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Add", "Param": "%AS_DamageResistDown_Talent02", "ParamName": "AS_DamageResistDown", "ParamType": "Float", "Predicates": [ { "$type": "ByAvatarTalentIndex", "TalentIndex": 1, "Target": "Caster" } ] }, { "$type": "SetAbilitySpecialByExpression", "DoRefresh": true, "Expression": "specials(AS_FightAmount_PerDamageUp_Base)*specials(AS_FightAmount_PerDamageUp_Talent02)", "ParamName": "AS_FightAmount_PerDamageUp_Base", "Predicates": [ { "$type": "ByAvatarTalentIndex", "TalentIndex": 2, "Target": "Caster" } ], "Target": "Self", "ValueType": "Float" }, { "$type": "SetAbilitySpecialByExpression", "DoRefresh": true, "Expression": "specials(AS_FightAmount_PerDamageUp_Max)*specials(AS_FightAmount_PerDamageUp_Talent02)", "ParamName": "AS_FightAmount_PerDamageUp_Max", "Predicates": [ { "$type": "ByAvatarTalentIndex", "TalentIndex": 2, "Target": "Caster" } ], "Target": "Self", "ValueType": "Float" }, { "$type": "ApplyModifier", "ModifierName": "Lighter_Full_Fight_Coop_Refresh", "Target": "TeamAvatars" } ], "OnHitOther": [ { "$type": "ModifyAttackDataAction", "PropertyKey": "Actor_AddedBreakStunRatio", "PropertyValue": "%AS_AddedBreakStunRatio", "Target": "Self" }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByApplyPredicate", "PredicateName": "Predicate_Lighter_FullMario" } ], "SuccessActions": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByPlayerPropertyValue", "CompareType": "GreaterEqual", "IsUsePercent": false, "Numerator": "BreakStun_Battle", "Target": "Self", "Val1": "%AS_BreakstunToDamage_Min" } ], "FailureActions": [ { "$type": "SetAbilitySpecialByExpression", "DoRefresh": true, "Expression": "specials(AS_BreakstunToDamage_Ratio)*0", "ParamName": "AS_FightAmount_PerDamageUp_ByBreak", "Target": "Self", "ValueType": "Float" } ], "SuccessActions": [ { "$type": "SetAbilitySpecialByExpression", "DoRefresh": true, "Expression": "(property(BreakStun_Battle)-specials(AS_BreakstunToDamage_Min))*specials(AS_BreakstunToDamage_Ratio)", "ParamName": "AS_FightAmount_PerDamageUp_ByBreak", "Target": "Self", "ValueType": "Float" } ] }, { "$type": "SetAbilitySpecialByExpression", "DoRefresh": true, "Expression": "specials(AS_FightAmount_PerDamageUp_ByBreak)*specials(AS_FightAmount_PerDamageUp_Talent02)", "ParamName": "AS_FightAmount_PerDamageUp_ByBreak", "Predicates": [ { "$type": "ByAvatarTalentIndex", "TalentIndex": 2, "Target": "Caster" } ], "Target": "Self", "ValueType": "Float" }, { "$type": "SetAbilitySpecialByExpression", "DoRefresh": true, "Expression": "specials(AS_FightAmount_PerDamageUp_Base)+specials(AS_FightAmount_PerDamageUp_ByBreak)", "ParamName": "AS_FightAmount_PerDamageUp_Final", "Target": "Self", "ValueType": "Float" }, { "$type": "SetAbilitySpecialByExpression", "DoRefresh": true, "Expression": "specials(AS_FightAmount_PerDamageUp_Max)*1", "ParamName": "AS_FightAmount_PerDamageUp_Final", "Predicates": [ { "$type": "ByAbilitySpecial", "CompareType": "Greater", "Param": "%AS_FightAmount_PerDamageUp_Max", "ParamName": "AS_FightAmount_PerDamageUp_Final", "ParamType": "Float", "Target": "Self" } ], "Target": "Self", "ValueType": "Float" }, { "$type": "ApplyModifier", "ModifierName": "Lighter_Full_Fight_Coop", "Predicates": [ { "$type": "ByMathSkillSuccess" } ], "Target": "TeamAvatars" } ] }, { "$type": "ApplyModifier", "ModifierName": "Lighter_DamageResistDown_ToEnemy_Coop", "Predicates": [ { "$type": "ByOr", "Predicates": [ { "$type": "ByApplyPredicate", "PredicateName": "Predicate_Lighter_Attack05_Loop" }, { "$type": "ByApplyPredicate", "PredicateName": "Predicate_Lighter_Attack05_Start" } ] } ], "Target": "Target" } ], "Properties": { "Actor_AddedDamageRatio": "%AS_AddedDamageRatio", "Actor_BaseAttackRatio": "%AS_BaseAtkRatio" } }, "Modifiers": { "Lighter_DamageResistDown_ToEnemy_Coop": { "Duration": "%AS_DamageResistDown_Duration", "ModifierStacking": "Replace", "Properties": { "Actor_ElecDamageResist": "%AS_DamageResistDown", "Actor_EtherDamageResist": "%AS_DamageResistDown", "Actor_PhysicsDamageResist": "%AS_DamageResistDown" } }, "Lighter_Full_Fight_Coop": { "Duration": "%AS_DamageUp_Duration", "MaxStackingNumber": "%AS_MaxFightAmount", "ModifierStacking": "MultipleAllRefresh", "Properties": { "Actor_AddedDamageRatio_Elec": "%AS_FightAmount_PerDamageUp_Final", "Actor_AddedDamageRatio_Ether": "%AS_FightAmount_PerDamageUp_Final", "Actor_AddedDamageRatio_Physics": "%AS_FightAmount_PerDamageUp_Final" } }, "Lighter_Full_Fight_Coop_Refresh": { "Duration": -1, "ModifierStacking": "Unique", "OnSkillStart": [ { "$type": "SetModifierDurationAction", "ModifierName": "Lighter_Full_Fight_Coop", "ModifierTargetType": "CurTargetAbility", "ModifyType": "Replace", "Predicates": [ { "$type": "ByFromSkillType", "SkillType": "QTE", "Target": "Self" } ], "Target": "TeamAvatars", "Value": 30 } ] } }, "Predicates": { "Predicate_Lighter_Attack05_Loop": { "Predicates": [ { "$type": "ByAnd", "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "Lighter_Attack_Normal_05_02_Loop_AttackProperty_01_Enhance", "Lighter_Attack_Normal_05_02_Loop_AttackProperty_02_Enhance", "Lighter_Attack_Normal_05_02_Loop_AttackProperty_03_Enhance", "Lighter_Attack_Normal_05_02_Loop_AttackProperty_04_Enhance", "Lighter_Attack_Normal_05_02_Loop_AttackProperty_05_Enhance", "Lighter_Attack_Normal_05_02_Loop_AttackProperty_06_Enhance", "Lighter_Attack_Normal_05_02_Loop_AttackProperty_07_Enhance", "Lighter_Attack_Normal_05_02_Loop_AttackProperty_08_Enhance", "Lighter_Attack_Normal_05_02_Loop_AttackProperty_09_Enhance", "Lighter_Attack_Normal_05_02_Loop_AttackProperty_10_Enhance", "Lighter_Attack_Normal_05_02_Loop_AttackProperty_11_Enhance" ], "Target": "Self" } ], "Target": "Self" } ] }, "Predicate_Lighter_Attack05_Start": { "Predicates": [ { "$type": "ByAnd", "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "Lighter_Attack_Normal_05_01_AttackProperty_01_Enhance", "Lighter_Attack_Normal_05_01_AttackProperty_02_Enhance", "Lighter_Attack_Normal_05_01_AttackProperty_03_Enhance", "Lighter_Attack_Normal_05_02_Start_AttackProperty_01_Enhance", "Lighter_Attack_Normal_05_02_Start_AttackProperty_02_Enhance", "Lighter_Attack_Normal_05_02_Start_AttackProperty_03_Enhance", "Lighter_Attack_Normal_05_02_Start_AttackProperty_04_Enhance" ], "Target": "Self" } ], "Target": "Self" } ] }, "Predicate_Lighter_FullMario": { "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "Lighter_Attack_Normal_05_01_AttackProperty_01_Enhance", "Lighter_Attack_Normal_05_01_AttackProperty_02_Enhance", "Lighter_Attack_Normal_05_01_AttackProperty_03_Enhance", "Lighter_Attack_Normal_05_02_Loop_AttackProperty_01_Enhance", "Lighter_Attack_Normal_05_02_Loop_AttackProperty_02_Enhance", "Lighter_Attack_Normal_05_02_Loop_AttackProperty_03_Enhance", "Lighter_Attack_Normal_05_02_Loop_AttackProperty_04_Enhance", "Lighter_Attack_Normal_05_02_Loop_AttackProperty_05_Enhance", "Lighter_Attack_Normal_05_02_Loop_AttackProperty_06_Enhance", "Lighter_Attack_Normal_05_02_Loop_AttackProperty_07_Enhance", "Lighter_Attack_Normal_05_02_Loop_AttackProperty_08_Enhance", "Lighter_Attack_Normal_05_02_Loop_AttackProperty_09_Enhance", "Lighter_Attack_Normal_05_02_Loop_AttackProperty_10_Enhance", "Lighter_Attack_Normal_05_02_Loop_AttackProperty_11_Enhance", "Lighter_Attack_Normal_05_02_Start_AttackProperty_01_Enhance", "Lighter_Attack_Normal_05_02_Start_AttackProperty_02_Enhance", "Lighter_Attack_Normal_05_02_Start_AttackProperty_03_Enhance", "Lighter_Attack_Normal_05_02_Start_AttackProperty_04_Enhance", "Lighter_Attack_Normal_05_03_AttackProperty_01_Enhance", "Lighter_Attack_Normal_05_03_AttackProperty_02_Enhance", "Lighter_Attack_Normal_05_03_Enhance_Max_AttackProperty_01", "Lighter_Attack_Normal_05_03_Enhance_Max_AttackProperty_01" ], "Target": "Self" } ] } } }