ZenlessData/Data/Thracian_GetAIParamsByDifficulty.json

409 lines
11 KiB
JSON
Raw Normal View History

{
"AbilityName": "Thracian_GetAIParamsByDifficulty",
"AbilityStacking": "Unique",
"OnAbilityTrigger": [
{
"$type": "TriggerAbilityAction",
"AbilityName": "Thracian_SoundManager",
"InitAbilitySpecialList": [
{
"SpecialName": "AS_Func",
"Value": "ClearAttack",
"ValueType": "String"
}
]
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByPlayerPropertyValue",
"CompareType": "Less",
"CustomDenominator": "MaxDynamicDifficulty",
"CustomNumerator": "DynamicDifficulty",
"Denominator": "Custom",
"IsUsePercent": true,
"Numerator": "Custom",
"Val1": 0.2
}
],
"SuccessActions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 1,
"ModifyFunction": "Replace",
"ParamName": "MaxAttackCount"
},
{
"$type": "WriteAIParamAction",
"IntParamValue": 0,
"ModifyFunction": "Replace",
"ParamName": "EvadeTime"
}
]
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByPlayerPropertyValue",
"CompareType": "GreaterEqual",
"CustomDenominator": "MaxDynamicDifficulty",
"CustomNumerator": "DynamicDifficulty",
"Denominator": "Custom",
"IsUsePercent": true,
"Numerator": "Custom",
"Val1": 0.2
},
{
"$type": "ByPlayerPropertyValue",
"CompareType": "Less",
"CustomDenominator": "MaxDynamicDifficulty",
"CustomNumerator": "DynamicDifficulty",
"Denominator": "Custom",
"IsUsePercent": true,
"Numerator": "Custom",
"Val1": 0.4
}
],
"SuccessActions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 2,
"ModifyFunction": "Replace",
"ParamName": "MaxAttackCount"
},
{
"$type": "RandomOperator",
"Odds": 0.4,
"OnFailure": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 0,
"ModifyFunction": "Replace",
"ParamName": "EvadeTime"
}
],
"OnSuccess": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 1,
"ModifyFunction": "Replace",
"ParamName": "EvadeTime"
}
]
}
]
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByPlayerPropertyValue",
"CompareType": "GreaterEqual",
"CustomDenominator": "MaxDynamicDifficulty",
"CustomNumerator": "DynamicDifficulty",
"Denominator": "Custom",
"IsUsePercent": true,
"Numerator": "Custom",
"Val1": 0.4
},
{
"$type": "ByPlayerPropertyValue",
"CompareType": "Less",
"CustomDenominator": "MaxDynamicDifficulty",
"CustomNumerator": "DynamicDifficulty",
"Denominator": "Custom",
"IsUsePercent": true,
"Numerator": "Custom",
"Val1": 0.6
}
],
"SuccessActions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 3,
"ModifyFunction": "Replace",
"ParamName": "MaxAttackCount"
},
{
"$type": "RandomOperator",
"Odds": 0.7,
"OnFailure": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 0,
"ModifyFunction": "Replace",
"ParamName": "EvadeTime"
}
],
"OnSuccess": [
{
"$type": "RandomWeightAction",
"ActionList": [
{
"Actions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 1,
"ModifyFunction": "Replace",
"ParamName": "EvadeTime"
}
],
"Weight": 1
},
{
"Actions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 2,
"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.6
},
{
"$type": "ByPlayerPropertyValue",
"CompareType": "Less",
"CustomDenominator": "MaxDynamicDifficulty",
"CustomNumerator": "DynamicDifficulty",
"Denominator": "Custom",
"IsUsePercent": true,
"Numerator": "Custom",
"Val1": 0.8
}
],
"SuccessActions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 4,
"ModifyFunction": "Replace",
"ParamName": "MaxAttackCount"
},
{
"$type": "RandomWeightAction",
"ActionList": [
{
"Actions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 1,
"ModifyFunction": "Replace",
"ParamName": "EvadeTime"
}
],
"Weight": 1
},
{
"Actions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 2,
"ModifyFunction": "Replace",
"ParamName": "EvadeTime"
}
],
"Weight": 1
},
{
"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.8
},
{
"$type": "ByPlayerPropertyValue",
"CompareType": "Less",
"CustomDenominator": "MaxDynamicDifficulty",
"CustomNumerator": "DynamicDifficulty",
"Denominator": "Custom",
"IsUsePercent": true,
"Numerator": "Custom",
"Val1": 0.9
}
],
"SuccessActions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 5,
"ModifyFunction": "Replace",
"ParamName": "MaxAttackCount"
},
{
"$type": "RandomWeightAction",
"ActionList": [
{
"Actions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 1,
"ModifyFunction": "Replace",
"ParamName": "EvadeTime"
}
],
"Weight": 1
},
{
"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
}
]
}
]
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByPlayerPropertyValue",
"CompareType": "GreaterEqual",
"CustomDenominator": "MaxDynamicDifficulty",
"CustomNumerator": "DynamicDifficulty",
"Denominator": "Custom",
"IsUsePercent": true,
"Numerator": "Custom",
"Val1": 0.9
}
],
"SuccessActions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 6,
"ModifyFunction": "Replace",
"ParamName": "MaxAttackCount"
},
{
"$type": "RandomWeightAction",
"ActionList": [
{
"Actions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 1,
"ModifyFunction": "Replace",
"ParamName": "EvadeTime"
}
],
"Weight": 1
},
{
"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
},
{
"Actions": [
{
"$type": "WriteAIParamAction",
"IntParamValue": 5,
"ModifyFunction": "Replace",
"ParamName": "EvadeTime"
}
],
"Weight": 1
}
]
}
]
}
]
}