ZenlessData/Data/Lighter_MathSkill.json

244 lines
7.9 KiB
JSON
Raw Normal View History

{
"AbilityName": "Lighter_MathSkill",
"AbilitySpecials": {
"AS_BreakstunToDamage_Min": {
"Value": 50
},
"AS_BreakstunToDamage_Ratio": {
"Value": 0.1
},
"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": "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_Refresh",
"Target": "TeamAvatars"
}
],
"OnHitOther": [
{
"$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",
"Predicates": [
{
"$type": "ByMathSkillSuccess"
}
],
"Target": "TeamAvatars"
}
]
}
]
},
"Modifiers": {
"Lighter_Full_Fight": {
"Buff": {
"BuffID": 3000171,
"IsOverrideDuration": true
},
"Duration": "%AS_DamageUp_Duration",
"MaxStackingNumber": "%AS_MaxFightAmount",
"ModifierStacking": "MultipleAllRefresh",
"Properties": {
"Actor_AddedDamageRatio_Fire": "%AS_FightAmount_PerDamageUp_Final",
"Actor_AddedDamageRatio_Ice": "%AS_FightAmount_PerDamageUp_Final"
}
},
"Lighter_Full_Fight_Refresh": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnSwitchTriggered": [
{
"$type": "SetModifierDurationAction",
"ModifierName": "Lighter_Full_Fight",
"ModifierTargetType": "CurTargetAbility",
"ModifyType": "Replace",
"Predicates": [
{
"$type": "ByAvatarSwitchType",
"SwitchType": "QTE",
"Target": "Self"
}
],
"Target": "TeamAvatars",
"Value": 30
}
]
}
},
"Predicates": {
"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"
}
]
}
}
}