74 lines
1.8 KiB
JSON
74 lines
1.8 KiB
JSON
|
{
|
||
|
"AbilityName": "SacrificeBringer_P1_SetAIParamsByEnergy",
|
||
|
"AbilityStacking": "Unique",
|
||
|
"OnAbilityTrigger": [
|
||
|
{
|
||
|
"$type": "BranchOperator",
|
||
|
"Conditions": [
|
||
|
{
|
||
|
"$type": "ByPlayerPropertyValue",
|
||
|
"CompareType": "Equal",
|
||
|
"CustomDenominator": "MaxChargeEnergy",
|
||
|
"CustomNumerator": "ChargeEnergy",
|
||
|
"Denominator": "Custom",
|
||
|
"IsUsePercent": true,
|
||
|
"Numerator": "Custom",
|
||
|
"Val1": 0.5
|
||
|
}
|
||
|
],
|
||
|
"FailureActions": [
|
||
|
{
|
||
|
"$type": "WriteAIParamAction",
|
||
|
"BoolParamValue": false,
|
||
|
"ModifyFunction": "Replace",
|
||
|
"ParamName": "AngryRoar"
|
||
|
}
|
||
|
],
|
||
|
"SuccessActions": [
|
||
|
{
|
||
|
"$type": "WriteAIParamAction",
|
||
|
"BoolParamValue": true,
|
||
|
"ModifyFunction": "Replace",
|
||
|
"ParamName": "AngryRoar"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"$type": "BranchOperator",
|
||
|
"Conditions": [
|
||
|
{
|
||
|
"$type": "ByPlayerPropertyValue",
|
||
|
"CompareType": "Equal",
|
||
|
"CustomDenominator": "MaxChargeEnergy",
|
||
|
"CustomNumerator": "ChargeEnergy",
|
||
|
"Denominator": "Custom",
|
||
|
"IsUsePercent": true,
|
||
|
"Numerator": "Custom",
|
||
|
"Val1": 1
|
||
|
}
|
||
|
],
|
||
|
"FailureActions": [
|
||
|
{
|
||
|
"$type": "WriteAIParamAction",
|
||
|
"BoolParamValue": false,
|
||
|
"ModifyFunction": "Replace",
|
||
|
"ParamName": "IsUltReady"
|
||
|
}
|
||
|
],
|
||
|
"SuccessActions": [
|
||
|
{
|
||
|
"$type": "WriteAIParamAction",
|
||
|
"BoolParamValue": false,
|
||
|
"ModifyFunction": "Replace",
|
||
|
"ParamName": "AngryRoar"
|
||
|
},
|
||
|
{
|
||
|
"$type": "WriteAIParamAction",
|
||
|
"BoolParamValue": true,
|
||
|
"ModifyFunction": "Replace",
|
||
|
"ParamName": "IsUltReady"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|