133 lines
3.2 KiB
Go
133 lines
3.2 KiB
Go
[
|
|
//////////////////////////////////////////////////////////////////////
|
|
//
|
|
// 黑夜压迫
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
{
|
|
"Default":
|
|
{
|
|
"$type": "ConfigAbility",
|
|
"abilityName": "DynamicAbility_MichiaeMatsuri_Pressure",
|
|
"abilityMixins":
|
|
[
|
|
{
|
|
"$type": "DoActionOnGlobalValueChangeMixin",
|
|
"globalValueKey": "SGV_MichiaeMatsuri_DarkPressure",
|
|
"actions":
|
|
[
|
|
//更新当前Debuff层数
|
|
{
|
|
"$type": "SetGlobalValueToOverrideMap",
|
|
"globalValueKey": "SGV_MichiaeMatsuri_DarkPressure",
|
|
"overrideMapKey": "DeBuffStacking",
|
|
},
|
|
//更新Debuff
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"modifierName": "MichiaeMatsuri_Pressure",
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName": "MichiaeMatsuri_Pressure",
|
|
},
|
|
],
|
|
},
|
|
|
|
],
|
|
"onAdded":
|
|
[
|
|
//更新当前Debuff层数
|
|
{
|
|
"$type": "SetGlobalValueToOverrideMap",
|
|
"globalValueKey": "SGV_MichiaeMatsuri_DarkPressure",
|
|
"overrideMapKey": "DeBuffStacking",
|
|
},
|
|
//更新Debuff
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"modifierName": "MichiaeMatsuri_Pressure",
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName": "MichiaeMatsuri_Pressure",
|
|
},
|
|
],
|
|
"abilitySpecials":
|
|
{
|
|
"SubDefenceRatio": 0, // 减抗性系数
|
|
"SubAttackRatio": 0, // 减攻击系数
|
|
|
|
"DeBuffStacking": 0, //当前叠层
|
|
},
|
|
"modifiers":
|
|
{
|
|
"MichiaeMatsuri_Pressure":
|
|
{
|
|
"modifierMixins":
|
|
[
|
|
//将BUFF效果分发给每个avatar
|
|
{
|
|
"$type": "LocalAvatarsMixin",
|
|
"modifierName": "UNIQUE_MichiaeMatsuri_Pressure_Avatar",
|
|
},
|
|
//特效状态管理
|
|
{
|
|
"$type": "AttachModifierToSelfGlobalValueNoInitMixin",
|
|
"globalValueKey": "SGV_MichiaeMatsuri_DarkPressure",
|
|
"valueSteps" : [7.5,30],
|
|
"modifierNameSteps" :
|
|
[
|
|
"MichiaeMatsuri_Pressure_Debuffeffect_Team",
|
|
],
|
|
},
|
|
],
|
|
},
|
|
|
|
"MichiaeMatsuri_Pressure_Debuffeffect_Team":
|
|
{
|
|
"modifierMixins":
|
|
[
|
|
//将effect效果分发给每个avatar
|
|
{
|
|
"$type": "LocalAvatarsMixin",
|
|
"modifierName": "MichiaeMatsuri_Pressure_Debuffeffect_Avatar",
|
|
},
|
|
],
|
|
},
|
|
|
|
"MichiaeMatsuri_Pressure_Debuffeffect_Avatar":
|
|
{
|
|
"state": "DefenseDown",
|
|
},
|
|
|
|
"UNIQUE_MichiaeMatsuri_Pressure_Avatar":
|
|
{
|
|
"isUnique": true,
|
|
"properties":
|
|
{
|
|
//所有抗性下降
|
|
"Actor_FireSubHurtDelta": "%SubDefenceRatio*%DeBuffStacking",
|
|
"Actor_ElecSubHurtDelta": "%SubDefenceRatio*%DeBuffStacking",
|
|
"Actor_WaterSubHurtDelta": "%SubDefenceRatio*%DeBuffStacking",
|
|
"Actor_GrassSubHurtDelta": "%SubDefenceRatio*%DeBuffStacking",
|
|
"Actor_WindSubHurtDelta": "%SubDefenceRatio*%DeBuffStacking",
|
|
"Actor_IceSubHurtDelta": "%SubDefenceRatio*%DeBuffStacking",
|
|
"Actor_RockSubHurtDelta": "%SubDefenceRatio*%DeBuffStacking",
|
|
"Actor_PhysicalSubHurtDelta": "%SubDefenceRatio*%DeBuffStacking",
|
|
},
|
|
"modifierMixins":
|
|
[
|
|
//输出下降
|
|
{
|
|
"$type": "ModifyDamageMixin",
|
|
"ignoreEventInfo": true,
|
|
"damagePercentageRatio": "%SubAttackRatio*%DeBuffStacking",
|
|
},
|
|
],
|
|
},
|
|
|
|
},
|
|
},
|
|
},
|
|
] |