37 lines
No EOL
1.1 KiB
JSON
37 lines
No EOL
1.1 KiB
JSON
{
|
||
|
||
//生命值越低,全伤害越高。每损失1%生命值,提升1%全伤害
|
||
|
||
|
||
|
||
"AbilityName":"Card_Medical_1000606",
|
||
|
||
"AbilityStacking":"Unique",
|
||
|
||
"DefaultModifier":
|
||
|
||
{
|
||
|
||
"ModifierStacking":"Unique",
|
||
|
||
"OnHitOther":
|
||
|
||
[
|
||
|
||
{ //给AddedDamageRatio加表达式
|
||
|
||
"$type":"MoleMole.SetAbilitySpecialByExpression",
|
||
|
||
"ParamName":"AddedDamageRatio",
|
||
|
||
"ValueType":"float",
|
||
|
||
"Expression":"specials(DamageRatio)*(1-property(CurHP)/property(MaxHP))" //损失生命值%=提升伤害%
|
||
|
||
},
|
||
|
||
{ //给角色增加伤害倍率
|
||
|
||
"$type":"MoleMole.ModifyAttackDataAction",
|
||
|
||
"PropertyKey":"Actor_AddedDamageRatio",
|
||
|
||
"PropertyValue":"%AddedDamageRatio",
|
||
|
||
"Target":"Self"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
"AbilitySpecials" :
|
||
|
||
{
|
||
|
||
//表格参数
|
||
|
||
"AddedDamageRatio" :
|
||
|
||
{
|
||
|
||
"Value" : 0
|
||
|
||
},
|
||
|
||
"DamageRatio":
|
||
|
||
{
|
||
|
||
"Value" : 1
|
||
|
||
}
|
||
|
||
}
|
||
|
||
} |