HollowPS_TV_experiments/extras/zzz-0.1-jsons/Card_Armor_1000407.json

106 lines
No EOL
3.5 KiB
JSON

{
//完美闪避可以恢复少量护盾
"AbilityName" : "Card_Armor_1000407",
"AbilityStacking":"Unique",
"DefaultModifier" :
{
"ModifierStacking":"Unique",
"OnDodgeSuccess":
[
{
"$type":"MoleMole.ApplyModifier",
"ModifierName":"ShieldModifier"
}
]
},
"Modifiers":
{
"ShieldModifier":
{
"ModifierStacking": "MultipleRefresh",
"OnBeingHitPre":
[
//获得当前护盾值
{
"$type": "MoleMole.SetAbilitySpecialsByHpShiledValueAction",
"Target" : "Self",
"ParamName": "ShieldAmount",
"ModifyFunction": "Replace",
"ValueType" : "CurValue", //当前的护盾值
"ParamType" : "int"
}
],
"OnBeDamageCalculated":
[
//受击特效
{
"$type" : "MoleMole.ApplyMatCapAction",
"MatCapKey" : "Buddy_Shield_Electric_ShaderMatCap_Hit",
"Target" : "Self",
"Predicates" :
[
{
"$type" : "MoleMole.ByAbilitySpecial",
"Target" : "Self",
"ParamName": "ShieldAmount",
"ParamType": "int",
"CompareType": "Greater",
"Param" : 0
}
]
}
],
"ModifierMixins":
[
{
"$type" : "MoleMole.HpShieldMixin",
"Duration": -1, //有效时长,
//护盾值
"TotalValueConfig":
{
"PropertyType": "MaxHP",
"Percentage": "%HpPercentage",
"Amount": 0
},
"RecoverPercentage": 0, //每秒回复百分比
"RecoverAmount": 0, //每秒回复百分比
"Priority": 0, //扣除优先级
"IfTakeRestDamageWhenEmpty": true, //护盾值归零时是否承受剩余伤害,
//护盾添加时回调
"AddedActions":
[
{
"$type" : "MoleMole.ApplyMatCapAction",
"MatCapKey" : "Buddy_Shield_Electric_ShaderMatCap_Start",
"Target" : "Self"
}
],
//护盾移除时回调
"RemovedActions":
[
{
"$type" : "MoleMole.ApplyMatCapAction",
"MatCapKey" : "Buddy_Shield_Electric_ShaderMatCap_End",
"Target" : "Self"
}
]
}
]
}
},
"AbilitySpecials" :
{
//表格参数
"HpPercentage" :
{
"Value" : 0.1
},
"ShieldAmount" :
{
"Value" : 0
}
}
}