122 lines
No EOL
4 KiB
JSON
122 lines
No EOL
4 KiB
JSON
{
|
||
|
||
//生命值降低至20%时,获得30%生命值的护盾,该护盾会在5秒内快速衰减。(每场战斗1次)
|
||
|
||
|
||
|
||
"AbilityName" : "Card_Armor_1000406",
|
||
|
||
"AbilityStacking":"Unique",
|
||
|
||
"DefaultModifier":
|
||
|
||
{
|
||
|
||
"ModifierStacking":"Unique",
|
||
|
||
"OnAdded":
|
||
|
||
[
|
||
|
||
{
|
||
|
||
"$type":"MoleMole.ApplyModifier",
|
||
|
||
"ModifierName":"HpListenerModifier"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
|
||
|
||
"Modifiers":
|
||
|
||
{
|
||
|
||
"HpListenerModifier":
|
||
|
||
{
|
||
|
||
"ModifierStacking": "Unique",
|
||
|
||
"ModifierMixins":
|
||
|
||
[
|
||
|
||
//用来判断生命值是否到达20%
|
||
|
||
{
|
||
|
||
"$type": "MoleMole.ActionsOnPropertyChangeMixin",
|
||
|
||
"PropertyActions":
|
||
|
||
[
|
||
|
||
{
|
||
|
||
"PropertyType": "CurHP",
|
||
|
||
"ReferMaxPropertyType": "MaxHP",
|
||
|
||
"IsUsePercentage": true,
|
||
|
||
"ValueRangeActions":
|
||
|
||
[
|
||
|
||
{
|
||
|
||
"Val": "%HpPercentage",
|
||
|
||
"HighToValueActions":
|
||
|
||
[
|
||
|
||
{
|
||
|
||
"$type":"MoleMole.ApplyModifier",
|
||
|
||
"ModifierName":"BloodhandModifier"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
"BloodhandModifier":
|
||
|
||
{
|
||
|
||
"ModifierStacking": "Unique",
|
||
|
||
"ModifierMixins":
|
||
|
||
[
|
||
|
||
{
|
||
|
||
"$type" : "MoleMole.HpShieldMixin",
|
||
|
||
"Duration": "%Duration", //有效时长
|
||
|
||
"Tag":"BloodHand",
|
||
|
||
|
||
|
||
//护盾值
|
||
|
||
"TotalValueConfig":
|
||
|
||
{
|
||
|
||
"PropertyType": "MaxHP",
|
||
|
||
"Percentage": "%ShieldAmount",
|
||
|
||
"Amount": 0
|
||
|
||
},
|
||
|
||
|
||
|
||
"RecoverPercentage": "%RecoverPercentage", //每秒回复百分比
|
||
|
||
"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"
|
||
|
||
},
|
||
|
||
//卸掉Listener
|
||
|
||
{
|
||
|
||
"$type" : "MoleMole.RemoveModifier",
|
||
|
||
"ModifierName" : "HpListenerModifier"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
},
|
||
|
||
"AbilitySpecials" :
|
||
|
||
{
|
||
|
||
"HpPercentage":
|
||
|
||
{
|
||
|
||
"Value" : 0.2
|
||
|
||
},
|
||
|
||
"Duration":
|
||
|
||
{
|
||
|
||
"Value" : 5
|
||
|
||
},
|
||
|
||
"ShieldAmount" :
|
||
|
||
{
|
||
|
||
"Value" : 0.3
|
||
|
||
},
|
||
|
||
"RecoverPercentage":
|
||
|
||
{
|
||
|
||
"Value": -0.2
|
||
|
||
}
|
||
|
||
}
|
||
|
||
} |