Ghost

Game resources

QingYi SpiritControl

game_resourceIntrinsic/flexbuffers-json/QingYi_SpiritControl

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/QingYi_SpiritControl.json
data
{
  "Modifiers": {
    "Modifier_BranchEnhance": {
      "OnAdded": [
        {
          "$type": "SetAbilitySpecialByExpression",
          "Target": "Self",
          "DoRefresh": true,
          "ParamName": "AddedDamageRatioTotal",
          "ValueType": "Float",
          "Expression": "(property(QingYi_Spirit)-75)*specials(AS_AddedDamageRatio)"
        },
        {
          "$type": "SetAbilitySpecialByExpression",
          "Target": "Self",
          "DoRefresh": true,
          "ParamName": "AddedBreakStunRatioTotal",
          "ValueType": "Float",
          "Expression": "(property(QingYi_Spirit)-75)*specials(AS_AddedBreakStunRatio)"
        },
        {
          "$type": "SetAbilitySpecialByExpression",
          "Target": "Self",
          "DoRefresh": true,
          "ParamName": "IsTriggerTalent_01",
          "ValueType": "Integer",
          "Expression": "0",
          "Predicates": [
            {
              "Val1": 100,
              "$type": "ByPlayerPropertyValue",
              "Target": "Self",
              "Numerator": "Custom",
              "CompareType": "Less",
              "IsUsePercent": false,
              "CustomNumerator": "QingYi_Spirit"
            },
            {
              "$type": "ByAvatarTalentIndex",
              "Target": "Self",
              "TalentIndex": 1
            }
          ]
        },
        {
          "$type": "SetAbilitySpecialByExpression",
          "Target": "Self",
          "DoRefresh": true,
          "ParamName": "IsTriggerTalent_01",
          "ValueType": "Integer",
          "Expression": "1",
          "Predicates": [
            {
              "Val1": 100,
              "$type": "ByPlayerPropertyValue",
              "Target": "Self",
              "Numerator": "Custom",
              "CompareType": "GreaterEqual",
              "IsUsePercent": false,
              "CustomNumerator": "QingYi_Spirit"
            },
            {
              "$type": "ByAvatarTalentIndex",
              "Target": "Self",
              "TalentIndex": 1
            }
          ]
        },
        {
          "$type": "ModifyProperty",
          "Amount": 0,
          "Percentage": 0,
          "Predicates": [
            {
              "Val1": 75,
              "$type": "ByPlayerPropertyValue",
              "Target": "Self",
              "Numerator": "Custom",
              "CompareType": "GreaterEqual",
              "IsUsePercent": false,
              "CustomNumerator": "QingYi_Spirit"
            }
          ],
          "PropertyType": "Custom",
          "IsUsePercentage": false,
          "CustomPropertyType": "QingYi_Spirit",
          "PropertyModifyFunction": "Replace"
        }
      ],
      "Duration": -1,
      "OnHitOther": [
        {
          "$type": "ModifyAttackDataAction",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByAnimEventIDs",
              "Target": "Self",
              "AnimEventIDs": [
                "QingYi_Attack_Branch_01_Enhance_AttackProperty_01",
                "QingYi_Attack_Branch_01_Enhance_AttackProperty_02",
                "QingYi_Attack_Branch_01_Enhance_AttackProperty_03",
                "QingYi_Attack_Branch_01_Enhance_AttackProperty_04",
                "QingYi_Attack_Branch_01_Enhance_AttackProperty_05",
                "QingYi_Attack_Branch_01_Enhance_End_AttackProperty_01",
                "QingYi_Attack_Branch_01_Enhance_End_AttackProperty_02"
              ]
            }
          ],
          "PropertyKey": "Actor_AddedDamageRatio",
          "PropertyValue": "%AddedDamageRatioTotal"
        },
        {
          "$type": "ModifyAttackDataAction",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByAnimEventIDs",
              "Target": "Self",
              "AnimEventIDs": [
                "QingYi_Attack_Branch_01_Enhance_AttackProperty_01",
                "QingYi_Attack_Branch_01_Enhance_AttackProperty_02",
                "QingYi_Attack_Branch_01_Enhance_AttackProperty_03",
                "QingYi_Attack_Branch_01_Enhance_AttackProperty_04",
                "QingYi_Attack_Branch_01_Enhance_AttackProperty_05",
                "QingYi_Attack_Branch_01_Enhance_End_AttackProperty_01",
                "QingYi_Attack_Branch_01_Enhance_End_AttackProperty_02"
              ]
            }
          ],
          "PropertyKey": "Actor_AddedBreakStunRatio",
          "PropertyValue": "%AddedBreakStunRatioTotal"
        },
        {
          "$type": "ApplyModifier",
          "Target": "Target",
          "Predicates": [
            {
              "$type": "ByAnimEventIDs",
              "Target": "Self",
              "AnimEventIDs": [
                "QingYi_Attack_Branch_01_Enhance_AttackProperty_01",
                "QingYi_Attack_Branch_01_Enhance_AttackProperty_02",
                "QingYi_Attack_Branch_01_Enhance_AttackProperty_03",
                "QingYi_Attack_Branch_01_Enhance_AttackProperty_04",
                "QingYi_Attack_Branch_01_Enhance_AttackProperty_05",
                "QingYi_Attack_Branch_01_Enhance_End_AttackProperty_01",
                "QingYi_Attack_Branch_01_Enhance_End_AttackProperty_02"
              ]
            },
            {
              "$type": "ByAbilitySpecial",
              "Param": 1,
              "ParamName": "IsTriggerTalent_01",
              "ParamType": "Integer",
              "CompareType": "Equal"
            },
            {
              "$type": "ByAvatarTalentIndex",
              "Target": "Self",
              "TalentIndex": 1
            }
          ],
          "ModifierName": "QingYi_Talent_01_Debuff"
        }
      ],
      "ModifierStacking": "Unique"
    },
    "Modifier_SpiritEnhance": {
      "OnAdded": [
        {
          "$type": "TriggerSoundAction",
          "Target": "Self",
          "soundActionKey": "Play_SFX_Char_Skill_QingYi_Attack_Branch_Enhance_Ready"
        },
        {
          "$type": "TriggerAbilityAction",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByAvatarTalentIndex",
              "Target": "Self",
              "TalentIndex": 4
            }
          ],
          "AbilityName": "QingYi_Talent_03"
        },
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": true,
          "ParamName": "Bool_IsSpiritEnhance",
          "ParamType": 2
        },
        {
          "Tag": "Avatar_Female_Size01_QingYi_MA_Attack_SpiritEnhance_01_Mat_02_OverrideRimGlow_02",
          "key": "Avatar_Female_Size01_QingYi_MA_Attack_SpiritEnhance_01_Mat_02_OverrideRimGlow_02",
          "$type": "ModifyMaterialPropertyAction",
          "Target": "Self",
          "RendererList": [
            {
              "RenderPath": "QingYi_Weapon",
              "ApplyAllMaterials": true
            }
          ],
          "ApplyAllRenderers": false
        },
        {
          "Tag": "Avatar_Female_Size01_QingYi_MA_Attack_SpiritEnhance_01_Mat_03_SecondaryEmission_03",
          "key": "Avatar_Female_Size01_QingYi_MA_Attack_SpiritEnhance_01_Mat_03_SecondaryEmission_03",
          "$type": "ModifyMaterialPropertyAction",
          "Target": "Self",
          "RendererList": [
            {
              "RenderPath": "QingYi_Weapon",
              "ApplyAllMaterials": true
            }
          ],
          "ApplyAllRenderers": false
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": false,
          "ParamName": "Bool_IsSpiritEnhance",
          "ParamType": 2
        },
        {
          "$type": "TriggerAbilityAction",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByAvatarTalentIndex",
              "Target": "Self",
              "TalentIndex": 4
            }
          ],
          "AbilityName": "QingYi_Talent_03"
        },
        {
          "Tag": "Avatar_Female_Size01_QingYi_MA_Attack_SpiritEnhance_01_Mat_02_OverrideRimGlow_02",
          "$type": "InterruptMaterialPropertyAction",
          "Target": "Self"
        },
        {
          "Tag": "Avatar_Female_Size01_QingYi_MA_Attack_SpiritEnhance_01_Mat_03_SecondaryEmission_03",
          "$type": "InterruptMaterialPropertyAction",
          "Target": "Self"
        }
      ],
      "ModifierStacking": "Unique"
    },
    "QingYi_Talent_01_Debuff": {
      "Duration": "%AS_DebuffDuration_Talent_01",
      "OnBeingHit": [
        {
          "$type": "ModifyAttackDataAction",
          "Target": "Target",
          "MpExecMode": "MpTotallyLocal",
          "Predicates": [
            {
              "$type": "ByEntityTemplateID",
              "Target": "Other",
              "EntityType": "Avatar",
              "TemplateID": 1251
            },
            {
              "$type": "ByIsModifierCaster",
              "Target": "Other"
            }
          ],
          "PropertyKey": "Actor_CriticalDelta",
          "PropertyValue": "%AS_CriticalDelta_Talent_01"
        }
      ],
      "Properties": {
        "Actor_DefenceRatio": "%AS_DefenceRatio_Talent_01"
      },
      "IgnoreTimeScale": false,
      "ModifierStacking": "Replace"
    },
    "Modifier_SpiritEnhance_Max": {
      "OnAdded": [
        {
          "Tag": "Avatar_Female_Size01_QingYi_MA_Attack_SpiritEnhance_01_Mat_03_SecondaryEmission_03",
          "key": "Avatar_Female_Size01_QingYi_MA_Attack_SpiritEnhance_01_Mat_03_SecondaryEmission_03",
          "$type": "ModifyMaterialPropertyAction",
          "Target": "Self",
          "RendererList": [
            {
              "RenderPath": "QingYi_Weapon",
              "ApplyAllMaterials": true
            }
          ],
          "ApplyAllRenderers": false
        },
        {
          "Tag": "Avatar_Female_Size01_QingYi_MA_Attack_SpiritEnhance_01_Mat_01_ScreenImage_01",
          "key": "Avatar_Female_Size01_QingYi_MA_Attack_SpiritEnhance_01_Mat_01_ScreenImage_01",
          "$type": "ModifyMaterialPropertyAction",
          "Target": "Self",
          "RendererList": [
            {
              "RenderPath": "QingYi_Weapon",
              "ApplyAllMaterials": true
            }
          ],
          "ApplyAllRenderers": false
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "Tag": "Avatar_Female_Size01_QingYi_MA_Attack_SpiritEnhance_01_Mat_03_SecondaryEmission_03",
          "$type": "InterruptMaterialPropertyAction",
          "Target": "Self"
        },
        {
          "Tag": "Avatar_Female_Size01_QingYi_MA_Attack_SpiritEnhance_01_Mat_01_ScreenImage_01",
          "$type": "InterruptMaterialPropertyAction",
          "Target": "Self"
        }
      ],
      "ModifierStacking": "Unique"
    },
    "QingYi_Talent_01_SpiritBoost": {
      "OnAdded": [
        {
          "$type": "ModifyProperty",
          "Amount": 100,
          "Percentage": 0,
          "PropertyType": "Custom",
          "IsUsePercentage": false,
          "CustomPropertyType": "QingYi_Spirit",
          "PropertyModifyFunction": "Add"
        },
        {
          "$type": "SetAbilitySpecialByExpression",
          "Target": "Self",
          "DoRefresh": true,
          "ParamName": "RecoverRate",
          "ValueType": "Float",
          "Expression": "1.3"
        }
      ],
      "Duration": -1,
      "IgnoreTimeScale": false,
      "ModifierStacking": "Unique"
    }
  },
  "AbilityName": "QingYi_SpiritControl",
  "AbilityMixins": [
    {
      "$type": "AttachStateWithModifierMixin",
      "ConfigList": [
        {
          "IsLoop": false,
          "LayerIndex": 0,
          "FrameCountLow": 13,
          "FrameCountHigh": 0,
          "MaxFrameCountLow": false,
          "ModifierNameList": [
            "Modifier_BranchEnhance"
          ],
          "AnimatorStateName": "Attack_Branch_01_Enhance",
          "MaxFrameCountHigh": true
        },
        {
          "IsLoop": false,
          "LayerIndex": 0,
          "FrameCountLow": 0,
          "FrameCountHigh": 0,
          "MaxFrameCountLow": false,
          "ModifierNameList": [
            "Modifier_BranchEnhance"
          ],
          "AnimatorStateName": "Attack_Branch_01_Enhance_End",
          "MaxFrameCountHigh": true
        }
      ]
    },
    {
      "$type": "ActionsOnPropertyChangeMixin",
      "PropertyActions": [
        {
          "PropertyType": "Custom",
          "ValueRangeActions": [
            {
              "Val": 75,
              "LowToValueActions": [
                {
                  "$type": "ApplyModifier",
                  "Target": "Self",
                  "ModifierName": "Modifier_SpiritEnhance"
                }
              ]
            },
            {
              "Val": 75,
              "ValueToLowActions": [
                {
                  "$type": "RemoveModifier",
                  "Target": "Self",
                  "ModifierName": "Modifier_SpiritEnhance"
                }
              ]
            },
            {
              "Val": 100,
              "LowToValueActions": [
                {
                  "$type": "ApplyModifier",
                  "Target": "Self",
                  "ModifierName": "Modifier_SpiritEnhance_Max"
                }
              ]
            },
            {
              "Val": 100,
              "ValueToLowActions": [
                {
                  "$type": "RemoveModifier",
                  "Target": "Self",
                  "ModifierName": "Modifier_SpiritEnhance_Max"
                }
              ]
            }
          ],
          "CustomPropertyType": "QingYi_Spirit",
          "ReferMaxPropertyType": "Custom",
          "CustomReferMaxPropertyType": "QingYi_Spirit_MaxValue"
        }
      ]
    }
  ],
  "AbilitySpecials": {
    "RecoverRate": {
      "Value": 1
    },
    "IsTriggerTalent_01": {
      "Value": 0,
      "ValueType": "Integer"
    },
    "AS_AddedDamageRatio": {
      "Value": 0.01
    },
    "SpiritRecoverAmount": {
      "Value": 0
    },
    "AddedDamageRatioTotal": {
      "Value": 0
    },
    "AS_AddedBreakStunRatio": {
      "Value": 0.01
    },
    "AddedBreakStunRatioTotal": {
      "Value": 0
    },
    "AS_DefenceRatio_Talent_01": {
      "Value": 0.3
    },
    "AS_CriticalDelta_Talent_01": {
      "Value": 0.3
    },
    "AS_DebuffDuration_Talent_01": {
      "Value": 15
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "ModifierStacking": "Unique",
    "OnPatternAttackLanded": [
      {
        "$type": "SetAbilitySpecialByExpressionListAction",
        "Params": [
          {
            "$type": "ExpressionParamAttackData",
            "ParamType": "AttackData",
            "AttackDataType": "AttackPropertyCustom",
            "AttackPropertyDataIndex": 0
          },
          {
            "$type": "ExpressionParamAbilitySpecial",
            "ParamType": "AbilitySpecial",
            "AbilitySpecialKey": "RecoverRate"
          }
        ],
        "Expressions": [
          {
            "Expression": "{0}*{1}",
            "AbilitySpecialName": "SpiritRecoverAmount"
          }
        ]
      },
      {
        "$type": "ModifyProperty",
        "Amount": "%SpiritRecoverAmount",
        "Percentage": 0,
        "PropertyType": "Custom",
        "IsUsePercentage": false,
        "CustomPropertyType": "QingYi_Spirit",
        "PropertyModifyFunction": "Add"
      }
    ]
  },
  "OnAbilityTrigger": [
    {
      "$type": "ApplyModifier",
      "Target": "Self",
      "ModifierName": "QingYi_Talent_01_SpiritBoost"
    }
  ]
}
format
json
displayName
QingYi_SpiritControl