CAE_Test_Combat_Action_Evaluator_Damage
Server/NPC/Balancing/CAE_Test_Combat_Action_Evaluator_Damage.json, 2.1 KB
Fields
| Field | Type |
|---|---|
Type | string |
TargetMemoryDuration | number |
CombatActionEvaluator | object |
Source
{
"Type": "CombatActionEvaluator",
"TargetMemoryDuration": 10,
"CombatActionEvaluator": {
"RunConditions": [
{
"Type": "TimeSinceLastUsed",
"Curve": {
"ResponseCurve": "Linear",
"XRange": [
0,
10
]
}
},
{
"Type": "Randomiser",
"MinValue": 0.9,
"MaxValue": 1
}
],
"MinRunUtility": 0.5,
"AvailableActions": {
"HasDamage": {
"Type": "Ability",
"Description": "Heal self",
"Target": "Self",
"AttackDistanceRange": [
1,
1
],
"Ability": "Test_Heal",
"Conditions": [
{
"Type": "RecentSustainedDamage",
"Curve": {
"Type": "Switch",
"SwitchPoint": 10
}
}
]
},
"TooMuchDamage": {
"Type": "Ability",
"Description": "Use melee attack",
"Target": "Hostile",
"WeaponSlot": 0,
"AttackDistanceRange": [
2,
2
],
"Ability": "Sword_Swing_Left_Fast",
"InteractionVars": {
"Sword_Swing_Left_Fast_Damage": {
"Interactions": [
{
"Parent": "Sword_Swing_Left_Fast_Damage",
"DamageCalculator": {
"Type": "Absolute",
"BaseDamage": {
"Physical": 6
},
"RandomPercentageModifier": 0
},
"DamageEffects": {
"WorldSoundEventId": "SFX_Sword_T2_Impact",
"LocalSoundEventId": "SFX_Sword_T2_Impact"
}
}
]
}
},
"WeightCoefficient": 1.2,
"Conditions": [
{
"Type": "TotalSustainedDamage",
"Curve": {
"Type": "Switch",
"SwitchPoint": 100
}
}
]
}
},
"MinActionUtility": 0.1,
"ActionSets": {
"Default": {
"Actions": [
"HasDamage",
"TooMuchDamage"
]
}
}
}
}