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

122 lines
No EOL
4 KiB
JSON

{
//护盾效果提升至15%生命值
"AbilityName" : "Card_Armor_1000404",
"AbilityStacking":"Unique",
"DefaultModifier":
{
"ModifierStacking":"Unique",
"OnAdded":
[
{
"$type":"MoleMole.SetAbilitySpecialByExpression",
"ParamName":"ShieldAmount",
"ValueType":"float",
"Expression":"specials(HpPercentage)*property(MaxHP)"
},
{
"$type":"MoleMole.ModifyHpShieldAction",
"Tag": "Card_Armor",
"CurValueDelta": 0,
"MaxValueDelta": 0
},
{
"$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, //有效时长,
"Tag": "Card_Armor",
//护盾值
"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.05
},
"ShieldAmount" :
{
"Value" : 0
}
}
}