Ghost

Game resources

Lighter MathSkill

game_resourceIntrinsic/flexbuffers-json/Lighter_MathSkill

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Lighter_MathSkill.json
data
{
  "Modifiers": {
    "Lighter_Full_Fight": {
      "Buff": {
        "BuffID": 3000171,
        "IsOverrideDuration": true
      },
      "Duration": "%AS_DamageUp_Duration",
      "Properties": {
        "Actor_AddedDamageRatio_Ice": "%AS_FightAmount_PerDamageUp_Final",
        "Actor_AddedDamageRatio_Fire": "%AS_FightAmount_PerDamageUp_Final"
      },
      "ModifierStacking": "MultipleAllRefresh",
      "MaxStackingNumber": "%AS_MaxFightAmount"
    },
    "Lighter_Full_Fight_Refresh": {
      "Duration": -1,
      "OnSkillStart": [
        {
          "$type": "SetModifierDurationAction",
          "Value": 30,
          "Target": "TeamAvatars",
          "ModifyType": "Replace",
          "Predicates": [
            {
              "$type": "ByFromSkillType",
              "Target": "Self",
              "SkillType": "QTE"
            }
          ],
          "ModifierName": "Lighter_Full_Fight",
          "ModifierTargetType": "CurTargetAbility"
        }
      ],
      "ModifierStacking": "Unique"
    }
  },
  "Predicates": {
    "Predicate_Lighter_FullMario": {
      "Predicates": [
        {
          "$type": "ByAnimEventIDs",
          "Target": "Self",
          "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"
          ]
        }
      ]
    }
  },
  "AbilityName": "Lighter_MathSkill",
  "AbilityMixins": [
    {
      "$type": "WatchEntityMixin",
      "EntityTypes": [
        "Avatar"
      ],
      "Relationships": [
        "Allied"
      ],
      "OnEntityAwaked": [
        {
          "$type": "ApplyModifier",
          "Target": "TeamAvatars",
          "ModifierName": "Lighter_Full_Fight_Refresh"
        }
      ]
    }
  ],
  "AbilitySpecials": {
    "AS_FightAmount": {
      "Value": 0,
      "ValueType": "Integer"
    },
    "AS_MaxFightAmount": {
      "Value": 20,
      "ValueType": "Integer"
    },
    "AS_DamageUp_Duration": {
      "Value": 15
    },
    "AS_BreakstunToDamage_Min": {
      "Value": 50
    },
    "AS_BreakstunToDamage_Ratio": {
      "Value": 0.1
    },
    "AS_FightAmount_PerDamageUp_Max": {
      "Value": 100
    },
    "AS_FightAmount_PerDamageUp_Base": {
      "Value": 0.1
    },
    "AS_FightAmount_PerDamageUp_Final": {
      "Value": 0.016
    },
    "AS_FightAmount_PerDamageUp_ByBreak": {
      "Value": 0
    },
    "AS_FightAmount_PerDamageUp_Talent02": {
      "Value": 1.2
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "SetAbilitySpecialByExpression",
        "Target": "Self",
        "DoRefresh": true,
        "ParamName": "AS_FightAmount_PerDamageUp_Base",
        "ValueType": "Float",
        "Expression": "specials(AS_FightAmount_PerDamageUp_Base)*specials(AS_FightAmount_PerDamageUp_Talent02)",
        "Predicates": [
          {
            "$type": "ByAvatarTalentIndex",
            "Target": "Caster",
            "TalentIndex": 2
          }
        ]
      },
      {
        "$type": "SetAbilitySpecialByExpression",
        "Target": "Self",
        "DoRefresh": true,
        "ParamName": "AS_FightAmount_PerDamageUp_Max",
        "ValueType": "Float",
        "Expression": "specials(AS_FightAmount_PerDamageUp_Max)*specials(AS_FightAmount_PerDamageUp_Talent02)",
        "Predicates": [
          {
            "$type": "ByAvatarTalentIndex",
            "Target": "Caster",
            "TalentIndex": 2
          }
        ]
      },
      {
        "$type": "ApplyModifier",
        "Target": "TeamAvatars",
        "ModifierName": "Lighter_Full_Fight_Refresh"
      }
    ],
    "OnHitOther": [
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByApplyPredicate",
            "PredicateName": "Predicate_Lighter_FullMario"
          }
        ],
        "SuccessActions": [
          {
            "$type": "BranchOperator",
            "Conditions": [
              {
                "Val1": "%AS_BreakstunToDamage_Min",
                "$type": "ByPlayerPropertyValue",
                "Target": "Self",
                "Numerator": "BreakStun_Battle",
                "CompareType": "GreaterEqual",
                "IsUsePercent": false
              }
            ],
            "FailureActions": [
              {
                "$type": "SetAbilitySpecialByExpression",
                "Target": "Self",
                "DoRefresh": true,
                "ParamName": "AS_FightAmount_PerDamageUp_ByBreak",
                "ValueType": "Float",
                "Expression": "specials(AS_BreakstunToDamage_Ratio)*0"
              }
            ],
            "SuccessActions": [
              {
                "$type": "SetAbilitySpecialByExpression",
                "Target": "Self",
                "DoRefresh": true,
                "ParamName": "AS_FightAmount_PerDamageUp_ByBreak",
                "ValueType": "Float",
                "Expression": "(property(BreakStun_Battle)-specials(AS_BreakstunToDamage_Min))*specials(AS_BreakstunToDamage_Ratio)"
              }
            ]
          },
          {
            "$type": "SetAbilitySpecialByExpression",
            "Target": "Self",
            "DoRefresh": true,
            "ParamName": "AS_FightAmount_PerDamageUp_ByBreak",
            "ValueType": "Float",
            "Expression": "specials(AS_FightAmount_PerDamageUp_ByBreak)*specials(AS_FightAmount_PerDamageUp_Talent02)",
            "Predicates": [
              {
                "$type": "ByAvatarTalentIndex",
                "Target": "Caster",
                "TalentIndex": 2
              }
            ]
          },
          {
            "$type": "SetAbilitySpecialByExpression",
            "Target": "Self",
            "DoRefresh": true,
            "ParamName": "AS_FightAmount_PerDamageUp_Final",
            "ValueType": "Float",
            "Expression": "specials(AS_FightAmount_PerDamageUp_Base)+specials(AS_FightAmount_PerDamageUp_ByBreak)"
          },
          {
            "$type": "SetAbilitySpecialByExpression",
            "Target": "Self",
            "DoRefresh": true,
            "ParamName": "AS_FightAmount_PerDamageUp_Final",
            "ValueType": "Float",
            "Expression": "specials(AS_FightAmount_PerDamageUp_Max)*1",
            "Predicates": [
              {
                "$type": "ByAbilitySpecial",
                "Param": "%AS_FightAmount_PerDamageUp_Max",
                "Target": "Self",
                "ParamName": "AS_FightAmount_PerDamageUp_Final",
                "ParamType": "Float",
                "CompareType": "Greater"
              }
            ]
          },
          {
            "$type": "ApplyModifier",
            "Target": "TeamAvatars",
            "Predicates": [
              {
                "$type": "ByMathSkillSuccess"
              }
            ],
            "ModifierName": "Lighter_Full_Fight"
          }
        ]
      }
    ]
  }
}
format
json
displayName
Lighter_MathSkill