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

131 lines
No EOL
4 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.

{
//HP>75%时sp恢复提高10%且物理攻击造成的晕值提高15%
"AbilityName":"Suit_Ability_50233400",
"AbilityStacking":"Unique",
"DefaultModifier":
{
"OnAdded":
[
//开局添加效果
{
"$type": "MoleMole.ApplyModifier",
"ModifierName": "AddBuff",
"Target":"Self",
"Predicates":
[
{
"$type": "MoleMole.ByPlayerPropertyValue",
"IsUsePercent" : true,
"Numerator":"CurHP",
"Denominator":"MaxHP",
"CompareType": "Greater",
"Val1" : "%HpPercentage",
"Val2" : 0,
"Target" : "Self"
}
]
},
],
"OnHitOtherPre":
[
{
"$type": "MoleMole.ModifyAttackDataAction",
"Target" : "Self",
"PropertyKey": "BreakStun_Ratio",
"PropertyValue": "%BreakStunRatio",
"Predicates":
[
{
"$type":"MoleMole.ByDamageElementType",
"DamageElement":"Physics"
},
{
"$type": "MoleMole.ByPlayerPropertyValue",
"IsUsePercent" : true,
"Numerator":"CurHP",
"Denominator":"MaxHP",
"CompareType": "Greater",
"Val1" : "%HpPercentage",
"Val2" : 0,
"Target" : "Self"
}
]
}
]
},
"AbilityMixins" ://持续检测属性变化
[
{
"$type": "MoleMole.ActionsOnPropertyChangeMixin",
"PropertyActions":
[
{
"PropertyType": "CurHP",
// "CustomPropertyType": "EnhanceNum",
"ReferMaxPropertyType": "MaxHP",
// "CustomReferMaxPropertyType": "MaxEnhanceNum",
"IsUsePercentage": true,
"ValueRangeActions":
[
{
"Val": "%HpPercentage",
"LowToValueActions":
[
{
"$type": "MoleMole.ApplyModifier",
"ModifierName": "AddBuff",
"Target":"Self",
},
],
},
{
"Val": "%HpPercentage",
"ValueToLowActions":
[
{
"$type": "MoleMole.RemoveModifier",
"ModifierName": "AddBuff",
"Target":"Self",
},
],
},
],
},
],
},
],
"Modifiers":
{
"AddBuff":
{
"Properties":
{
"Actor_SPGetRatio":"%SPGetRatio",
},
}
},
"AbilitySpecials" :
{
"BreakStunRatio":
{
"Value": 0.15
},
"HpPercentage":
{
"Value": 0.75
},
"SPGetRatio":
{
"Value": 0.1
},
}
}