Ghost

Game resources

QingYi MathSkill

game_resourceIntrinsic/flexbuffers-json/QingYi_MathSkill

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/QingYi_MathSkill.json
data
{
  "Modifiers": {
    "AddedAttackModifier": {
      "Duration": -1,
      "Properties": {
        "Actor_BaseAttackDelta": "%AddedAttackAmount"
      },
      "IgnoreTimeScale": false,
      "ModifierStacking": "Unique"
    }
  },
  "AbilityName": "QingYi_MathSkill",
  "AbilityMixins": [
    {
      "$type": "ActionsOnPropertyChangeMixin",
      "PropertyActions": [
        {
          "PropertyType": "BreakStun_Battle",
          "ValueRangeActions": [
            {
              "Val": "%AS_BaseBreakStun",
              "LowToValueActions": [
                {
                  "$type": "ApplyModifier",
                  "Target": "Self",
                  "Predicates": [
                    {
                      "$type": "ByMathSkillSuccess"
                    }
                  ],
                  "ModifierName": "AddedAttackModifier"
                }
              ]
            },
            {
              "Val": "%AS_BaseBreakStun",
              "ValueToLowActions": [
                {
                  "$type": "RemoveModifier",
                  "Target": "Self",
                  "Predicates": [
                    {
                      "$type": "ByMathSkillSuccess"
                    }
                  ],
                  "ModifierName": "AddedAttackModifier"
                }
              ]
            }
          ],
          "PropertyChangeActions": [
            {
              "$type": "SetAbilitySpecialByExpression",
              "DoRefresh": true,
              "ParamName": "AddedAttackAmount",
              "ValueType": "Float",
              "Expression": "min(specials(AS_AddedAttackDeltaMax),specials(AS_AddedAttackDelta)*(property(BreakStun_Battle)-specials(AS_BaseBreakStun)))"
            }
          ]
        }
      ]
    }
  ],
  "AbilitySpecials": {
    "AS_BaseBreakStun": {
      "Value": 120
    },
    "AddedAttackAmount": {
      "Value": 0.2
    },
    "AS_AddedAttackDelta": {
      "Value": 2
    },
    "AS_AddedAttackDeltaMax": {
      "Value": 400
    },
    "AS_AddedBreakStunRatio": {
      "Value": 0.2
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "SetAbilitySpecialByExpression",
        "DoRefresh": true,
        "ParamName": "AddedAttackAmount",
        "ValueType": "Float",
        "Expression": "min(specials(AS_AddedAttackDeltaMax),specials(AS_AddedAttackDelta)*(property(BreakStun_Battle)-specials(AS_BaseBreakStun)))"
      },
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByMathSkillSuccess"
          },
          {
            "Val1": "%AS_BaseBreakStun",
            "$type": "ByPlayerPropertyValue",
            "Numerator": "BreakStun_Battle",
            "CompareType": "GreaterEqual"
          }
        ],
        "ModifierName": "AddedAttackModifier"
      }
    ],
    "OnHitOther": [
      {
        "$type": "ModifyAttackDataAction",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByAnimTagList",
            "TagList": [
              "AttackNormal",
              "Normal"
            ]
          },
          {
            "$type": "ByMathSkillSuccess"
          }
        ],
        "PropertyKey": "Actor_AddedBreakStunRatio",
        "PropertyValue": "%AS_AddedBreakStunRatio"
      }
    ]
  }
}
format
json
displayName
QingYi_MathSkill