ZenlessData/Data/SacrificeBringer_P1_DynamicDifficultyManager.json

98 lines
2.5 KiB
JSON
Raw Permalink Normal View History

{
"AbilityName": "SacrificeBringer_P1_DynamicDifficultyManager",
"AbilitySpecials": {
"AS_Temp": {
"Value": 0,
"ValueType": "Float"
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAttackLanded": [
{
"$type": "ApplyModifier",
"ModifierName": "DynamicDifficulty_Decrease_Modifier",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Monster_SacrificeBringer_P1_ATK02_AttackProperty",
"Monster_SacrificeBringer_P1_ATK04_02_AttackProperty"
]
}
]
}
],
"OnBeingHit": [
{
"$type": "ApplyModifier",
"ModifierName": "DynamicDifficulty_Increase_Modifier"
}
],
"OnThinkInterval": [
{
"$type": "ModifyProperty",
"Amount": 2,
"CustomPropertyType": "DynamicDifficulty",
"Predicates": [
{
"$type": "ByHasModifier",
"ModifierNameList": [
"DynamicDifficulty_Increase_Modifier"
]
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByHasModifier",
"ModifierNameList": [
"DynamicDifficulty_Decrease_Modifier"
]
}
]
}
],
"PropertyModifyFunction": "Add",
"PropertyType": "Custom"
}
],
"ThinkInterval": 0.1
},
"Modifiers": {
"DynamicDifficulty_Decrease_Modifier": {
"Duration": 5,
"IsUnique": true,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "SetAbilitySpecialsByPropertyAction",
"CustomPropertyType": "DynamicDifficulty",
"ModifyFunction": "Replace",
"ParamName": "AS_Temp",
"Percentage": 1,
"PropertyType": "Custom"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Mul",
"Param": 0.6,
"ParamName": "AS_Temp",
"ParamType": "Float"
},
{
"$type": "ModifyProperty",
"Amount": "%AS_Temp",
"CustomPropertyType": "DynamicDifficulty",
"PropertyModifyFunction": "Replace",
"PropertyType": "Custom"
}
]
},
"DynamicDifficulty_Increase_Modifier": {
"Duration": 5,
"IsUnique": true,
"ModifierStacking": "Refresh"
}
}
}