110 lines
No EOL
3.7 KiB
JSON
110 lines
No EOL
3.7 KiB
JSON
{
|
||
|
||
//进入战斗时,获得10%生命值的护盾
|
||
|
||
|
||
|
||
"AbilityName":"Card_Armor_1000401",
|
||
|
||
"AbilityStacking":"Unique",
|
||
|
||
"DefaultModifier":
|
||
|
||
{
|
||
|
||
"ModifierStacking":"Unique",
|
||
|
||
"OnAdded":
|
||
|
||
[
|
||
|
||
{
|
||
|
||
"$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" :
|
||
|
||
{
|
||
|
||
"ShieldAmount":
|
||
|
||
{
|
||
|
||
"Value" : 0
|
||
|
||
},
|
||
|
||
//表格参数
|
||
|
||
"HpPercentage" :
|
||
|
||
{
|
||
|
||
"Value" : 0.1
|
||
|
||
}
|
||
|
||
}
|
||
|
||
} |