ZenlessData/Data/SacrificeBringer_P1_SetAIParamsByDifficulty.json

253 lines
6.8 KiB
JSON
Raw Permalink Normal View History

{
"AbilityName": "SacrificeBringer_P1_SetAIParamsByDifficulty",
"AbilityStacking": "Unique",
"OnAbilityTrigger": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByPlayerPropertyValue",
"CompareType": "Less",
"CustomDenominator": "MaxDynamicDifficulty",
"CustomNumerator": "DynamicDifficulty",
"Denominator": "Custom",
"IsUsePercent": true,
"Numerator": "Custom",
"Val1": 0.25
}
],
"SuccessActions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 3,
"ModifyFunction": "Replace",
"ParamName": "MaxAttackCount"
},
{
"$type": "WriteAIParamAction",
"IntParamValue": 2,
"ModifyFunction": "Replace",
"ParamName": "EvadeTime"
},
{
"$type": "WriteAIParamAction",
"BoolParamValue": false,
"ModifyFunction": "Replace",
"ParamName": "AllowCombo"
}
]
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByPlayerPropertyValue",
"CompareType": "GreaterEqual",
"CustomDenominator": "MaxDynamicDifficulty",
"CustomNumerator": "DynamicDifficulty",
"Denominator": "Custom",
"IsUsePercent": true,
"Numerator": "Custom",
"Val1": 0.25
},
{
"$type": "ByPlayerPropertyValue",
"CompareType": "Less",
"CustomDenominator": "MaxDynamicDifficulty",
"CustomNumerator": "DynamicDifficulty",
"Denominator": "Custom",
"IsUsePercent": true,
"Numerator": "Custom",
"Val1": 0.5
}
],
"SuccessActions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 3,
"ModifyFunction": "Replace",
"ParamName": "MaxAttackCount"
},
{
"$type": "WriteAIParamAction",
"BoolParamValue": false,
"ModifyFunction": "Replace",
"ParamName": "AllowCombo"
},
{
"$type": "RandomOperator",
"Odds": 0.7,
"OnFailure": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 0,
"ModifyFunction": "Replace",
"ParamName": "EvadeTime"
}
],
"OnSuccess": [
{
"$type": "RandomWeightAction",
"ActionList": [
{
"Actions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 3,
"ModifyFunction": "Replace",
"ParamName": "EvadeTime"
}
],
"Weight": 1
}
]
}
]
}
]
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByPlayerPropertyValue",
"CompareType": "GreaterEqual",
"CustomDenominator": "MaxDynamicDifficulty",
"CustomNumerator": "DynamicDifficulty",
"Denominator": "Custom",
"IsUsePercent": true,
"Numerator": "Custom",
"Val1": 0.5
},
{
"$type": "ByPlayerPropertyValue",
"CompareType": "Less",
"CustomDenominator": "MaxDynamicDifficulty",
"CustomNumerator": "DynamicDifficulty",
"Denominator": "Custom",
"IsUsePercent": true,
"Numerator": "Custom",
"Val1": 0.75
}
],
"SuccessActions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 5,
"ModifyFunction": "Replace",
"ParamName": "MaxAttackCount"
},
{
"$type": "WriteAIParamAction",
"BoolParamValue": true,
"ModifyFunction": "Replace",
"ParamName": "AllowCombo"
},
{
"$type": "RandomWeightAction",
"ActionList": [
{
"Actions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 3,
"ModifyFunction": "Replace",
"ParamName": "EvadeTime"
}
],
"Weight": 1
},
{
"Actions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 4,
"ModifyFunction": "Replace",
"ParamName": "EvadeTime"
}
],
"Weight": 1
}
]
}
]
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByPlayerPropertyValue",
"CompareType": "GreaterEqual",
"CustomDenominator": "MaxDynamicDifficulty",
"CustomNumerator": "DynamicDifficulty",
"Denominator": "Custom",
"IsUsePercent": true,
"Numerator": "Custom",
"Val1": 0.75
},
{
"$type": "ByPlayerPropertyValue",
"CompareType": "LessEqual",
"CustomDenominator": "MaxDynamicDifficulty",
"CustomNumerator": "DynamicDifficulty",
"Denominator": "Custom",
"IsUsePercent": true,
"Numerator": "Custom",
"Val1": 1
}
],
"SuccessActions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 5,
"ModifyFunction": "Replace",
"ParamName": "MaxAttackCount"
},
{
"$type": "WriteAIParamAction",
"BoolParamValue": true,
"ModifyFunction": "Replace",
"ParamName": "AllowCombo"
},
{
"$type": "RandomWeightAction",
"ActionList": [
{
"Actions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 2,
"ModifyFunction": "Replace",
"ParamName": "EvadeTime"
}
],
"Weight": 1
},
{
"Actions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 3,
"ModifyFunction": "Replace",
"ParamName": "EvadeTime"
}
],
"Weight": 1
},
{
"Actions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 4,
"ModifyFunction": "Replace",
"ParamName": "EvadeTime"
}
],
"Weight": 1
}
]
}
]
}
]
}