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

86 lines
No EOL
2 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
//生命值降低时恢复降低百分比50%的Sp
"AbilityName":"Card_Medical_1000604",
"AbilityStacking":"Unique",
"DefaultModifier":
{
"ModifierStacking":"Unique",
"OnBeingHitPre":
[
{
//储存被打之前的生命值%
"$type":"MoleMole.SetAbilitySpecialByExpression",
"ParamName":"Hp_OnBeingHitPre",
"ValueType":"float",
"Expression":"property(CurHP)/property(MaxHP)"
}
],
"OnBeAttackLanded":
[
{
//储存被打结算了伤害之后的生命值%
"$type":"MoleMole.SetAbilitySpecialByExpression",
"ParamName":"Hp_OnBeingHitResolved",
"ValueType":"float",
"Expression":"property(CurHP)/property(MaxHP)"
},
{
//计算受到的伤害值占MaxHp的%_Raw
"$type":"MoleMole.SetAbilitySpecialByExpression",
"ParamName":"DamageDelta_Raw",
"ValueType":"float",
"Expression":"specials(Hp_OnBeingHitPre)-specials(Hp_OnBeingHitResolved)"
},
{
//计算受到的伤害值占MaxHp的%并将其转化为整数_*Ratio
"$type":"MoleMole.SetAbilitySpecialByExpression",
"ParamName":"DamageDelta_Ratio",
"ValueType":"float",
"Expression":"specials(DamageDelta_Raw)*specials(Ratio)*100",
"Predicates": //若这个值>0则保存
[
{
"$type":"MoleMole.ByAbilitySpecial",
"ParamName":"DamageDelta_Raw",
"CompareType":"Greater",
"Param":0,
"ParamType":"float"
}
]
},
{
//恢复Sp
"$type": "MoleMole.RecoverSPAction",
"Target" : "Self",
"Percentage": 0,
"Amount": "%DamageDelta_Ratio",
"IgnoreRatio": false
}
]
},
"AbilitySpecials" :
{
"Hp_OnBeingHitPre":
{
"Value" : 0
},
"Hp_OnBeingHitResolved":
{
"Value" : 0
},
"DamageDelta_Raw":
{
"Value" : 0
},
"DamageDelta_Ratio":
{
"Value" : 0
},
//表格参数
"Ratio" :
{
"Value" : 10
}
}
}